<?xml version="1.0" encoding="UTF-8"?>
<rss xmlns:content="http://purl.org/rss/1.0/modules/content/" xmlns:dc="http://purl.org/dc/elements/1.1/" xmlns:rdf="http://www.w3.org/1999/02/22-rdf-syntax-ns#" xmlns:taxo="http://purl.org/rss/1.0/modules/taxonomy/" version="2.0">
  <channel>
    <title>topic Re: Rename Browser nodes from an Assembly and all Parts to default in Inventor Programming - iLogic, Macros, AddIns &amp; Apprentice</title>
    <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/rename-browser-nodes-from-an-assembly-and-all-parts-to-default/m-p/7166167#M72993</link>
    <description>&lt;P&gt;Here's one approach...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	Dim oAsmDef as AssemblyComponentDefinition
	oAsmDef = oAsmDoc.ComponentDefinition
	
	Dim oLeafOccs as ComponentOccurrencesEnumerator
	oLeafOccs = oAsmDef.Occurrences.AllLeafOccurrences
	
	Dim oPane As BrowserPane
	oPane = oAsmDoc.BrowserPanes.Item("Model")
	' Iterates thru the occurrences and resets the name
	Dim oOcc as ComponentOccurrence
	For Each oOcc in oLeafOccs
		Dim oNode As BrowserNode
		oNode = oPane.GetBrowserNodeFromObject(oOcc)
		' reset name
		oNode.NativeObject.Name = ""
	Next
&lt;/PRE&gt;</description>
    <pubDate>Tue, 20 Jun 2017 21:44:40 GMT</pubDate>
    <dc:creator>Anonymous</dc:creator>
    <dc:date>2017-06-20T21:44:40Z</dc:date>
    <item>
      <title>Rename Browser nodes from an Assembly and all Parts to default</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/rename-browser-nodes-from-an-assembly-and-all-parts-to-default/m-p/7166033#M72992</link>
      <description>&lt;P&gt;Hello all,&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;how to reset assembly browser node to default&lt;/P&gt;&lt;P&gt;recursively.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;Thanks, regards&lt;/P&gt;&lt;P&gt;Massimo&lt;/P&gt;</description>
      <pubDate>Tue, 20 Jun 2017 20:47:26 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/rename-browser-nodes-from-an-assembly-and-all-parts-to-default/m-p/7166033#M72992</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T20:47:26Z</dc:date>
    </item>
    <item>
      <title>Re: Rename Browser nodes from an Assembly and all Parts to default</title>
      <link>https://forums.autodesk.com/t5/inventor-programming-ilogic/rename-browser-nodes-from-an-assembly-and-all-parts-to-default/m-p/7166167#M72993</link>
      <description>&lt;P&gt;Here's one approach...&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;PRE&gt;	Dim oAsmDef as AssemblyComponentDefinition
	oAsmDef = oAsmDoc.ComponentDefinition
	
	Dim oLeafOccs as ComponentOccurrencesEnumerator
	oLeafOccs = oAsmDef.Occurrences.AllLeafOccurrences
	
	Dim oPane As BrowserPane
	oPane = oAsmDoc.BrowserPanes.Item("Model")
	' Iterates thru the occurrences and resets the name
	Dim oOcc as ComponentOccurrence
	For Each oOcc in oLeafOccs
		Dim oNode As BrowserNode
		oNode = oPane.GetBrowserNodeFromObject(oOcc)
		' reset name
		oNode.NativeObject.Name = ""
	Next
&lt;/PRE&gt;</description>
      <pubDate>Tue, 20 Jun 2017 21:44:40 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-programming-ilogic/rename-browser-nodes-from-an-assembly-and-all-parts-to-default/m-p/7166167#M72993</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2017-06-20T21:44:40Z</dc:date>
    </item>
  </channel>
</rss>

