<?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: Quick Question: Removing Occurrence number on all Parts and Assemblies in Inventor Forum</title>
    <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847306#M179606</link>
    <description>&lt;P&gt;I don't think that there is an out-of-the-box setting for removing the occurrence number in an assembly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd look at a custom iLogic rule to remove it.&lt;/P&gt;</description>
    <pubDate>Wed, 12 Jun 2019 14:24:45 GMT</pubDate>
    <dc:creator>swalton</dc:creator>
    <dc:date>2019-06-12T14:24:45Z</dc:date>
    <item>
      <title>Quick Question: Removing Occurrence number on all Parts and Assemblies</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847281#M179605</link>
      <description>&lt;P&gt;As the title says I am trying to remove the occurrence number that displays in the assembly hierarchy without having to go to each part/assembly and removing them manually in the Properties - Occurrence and changing the name.&amp;nbsp; Is there an option I can toggle off or any other way I can remove this?&lt;/P&gt;&lt;P&gt;&lt;span class="lia-inline-image-display-wrapper lia-image-align-inline" image-alt="Capture.PNG" style="width: 118px;"&gt;&lt;img src="https://forums.autodesk.com/t5/image/serverpage/image-id/646561i70BCF6214408F947/image-size/large?v=v2&amp;amp;px=999" role="button" title="Capture.PNG" alt="Capture.PNG" /&gt;&lt;/span&gt;&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 14:15:22 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847281#M179605</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-12T14:15:22Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Removing Occurrence number on all Parts and Assemblies</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847306#M179606</link>
      <description>&lt;P&gt;I don't think that there is an out-of-the-box setting for removing the occurrence number in an assembly.&lt;/P&gt;
&lt;P&gt;&amp;nbsp;&lt;/P&gt;
&lt;P&gt;I'd look at a custom iLogic rule to remove it.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 14:24:45 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847306#M179606</guid>
      <dc:creator>swalton</dc:creator>
      <dc:date>2019-06-12T14:24:45Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Removing Occurrence number on all Parts and Assemblies</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847318#M179607</link>
      <description>&lt;P&gt;I looked everywhere and noticed the same thing.&amp;nbsp; Thank you for the quick reply&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 14:29:28 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847318#M179607</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-12T14:29:28Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Removing Occurrence number on all Parts and Assemblies</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847749#M179608</link>
      <description>&lt;P&gt;Just curious though... why would you want that?&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:05:08 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847749#M179608</guid>
      <dc:creator>machiel.veldkamp</dc:creator>
      <dc:date>2019-06-12T17:05:08Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Removing Occurrence number on all Parts and Assemblies</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847774#M179609</link>
      <description>&lt;P&gt;It is something the clients wants. I am updated models of PLETS, PLEMS, ILS, etc. with a new hierarchy and names of valves, pipes, etc to match the clients database. I am sending them a STEP file from Inventor where they will load it up in Max. For the database to match the models, they wanted the :1, :2, :3, etc removed in order for the models to match exactly what their database shows. The whole purpose is all these models are going into a new program where you are able to see an entire subsea field with fully rendered 3D models where you can go and identify different components, reroute lines, etc.&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:14:53 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847774#M179609</guid>
      <dc:creator>Anonymous</dc:creator>
      <dc:date>2019-06-12T17:14:53Z</dc:date>
    </item>
    <item>
      <title>Re: Quick Question: Removing Occurrence number on all Parts and Assemblies</title>
      <link>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847841#M179610</link>
      <description>&lt;P&gt;I think you are in bad luck sir, I think the occurrences need to be unique.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;PRE&gt;Sub main()
	' set a reference to the assembly component definintion.
	' This assumes an assembly document is open.
	Dim oAsmCompDef As AssemblyComponentDefinition
	oAsmCompDef = ThisApplication.ActiveDocument.ComponentDefinition

	'Iterate through all of the occurrences
	Dim oOccurrence As ComponentOccurrence
	For Each oOccurrence In oAsmCompDef.Occurrences
		
		oName = oOccurrence.Name
		oNameArray = Split(oName, ":")
		oName = oNameArray(0)
		Try
			oOccurrence.Name = oName
		Catch
		End Try
	Next
End Sub&lt;/PRE&gt;&lt;P&gt;I tried this on a smaller assembly and it will remove all comments&amp;nbsp; ": xx" from the name as long as they are unique.&lt;/P&gt;&lt;P&gt;As soon as the occurence already occurs it will catch an exeption and move on to the next one.&lt;/P&gt;&lt;P&gt;&amp;nbsp;&lt;/P&gt;&lt;P&gt;So if your model contains ONLY unique files. GREAT! This code will solve your problem.&lt;/P&gt;&lt;P&gt;At least 1 double file and well....&lt;/P&gt;</description>
      <pubDate>Wed, 12 Jun 2019 17:43:38 GMT</pubDate>
      <guid>https://forums.autodesk.com/t5/inventor-forum/quick-question-removing-occurrence-number-on-all-parts-and/m-p/8847841#M179610</guid>
      <dc:creator>machiel.veldkamp</dc:creator>
      <dc:date>2019-06-12T17:43:38Z</dc:date>
    </item>
  </channel>
</rss>

