Scan assembly and get last Occurrence name

Scan assembly and get last Occurrence name

blandb
Mentor Mentor
353 Views
1 Reply
Message 1 of 2

Scan assembly and get last Occurrence name

blandb
Mentor
Mentor

Is there a way to scan an assembly of components to find out lets say part 1's occurrence name of say "part 1:153"? I'm wanting to do this so I can start adding more of the components and not worry about duplicating the occurrence name? Any ideas?  Thanks in advance!

Autodesk Certified Professional
0 Likes
354 Views
1 Reply
Reply (1)
Message 2 of 2

Curtis_Waguespack
Consultant
Consultant

Hey Brad,

 

See this link , there is an example there where I renumber the occurrences before placing a new one, that way the code knows what number to start with, etc.

 

https://forums.autodesk.com/t5/inventor-ilogic-and-vb-net-forum/place-component-gt-activate-insert-m...

 

 

I hope this helps.
Best of luck to you in all of your Inventor pursuits,
Curtis
http://inventortrenches.blogspot.com

 

 

 

 

0 Likes