ilogic and instance Property

ilogic and instance Property

a881996FPGN
Contributor Contributor
545 Views
3 Replies
Message 1 of 4

ilogic and instance Property

a881996FPGN
Contributor
Contributor

Hello, i am new user in Inventor and the ilogic functionality. I am struggling to identify my parts number in the drawing view so i thought to create some script that creates a custom instance property ( or populate Part Number, i dont know what is best) that contains my identification parameter based in the name of the part. EX: I have 12 studs named "C-stud 40x0.9" and i want that property to assign, for each stud, the value of C (1),2,3,.... Is this possible or anyone add similar experience that can give some hints?

0 Likes
546 Views
3 Replies
Replies (3)
Message 2 of 4

A.Acheson
Mentor
Mentor

Hi @a881996FPGN 

Instance property would be suited to tagging electrical /mechanical parts for use in Process control drawings with  let's say a valve with a unique identifier (Tag01). If your parts do not require unique identifiers then a part number matching will do. Part numbers by default come from the filename of the part/assembly but you can really take them from any source that you wish. 

 

Tracking instances numbers is a more difficult process so I would question if this is really required as you will end up assigning part numbers and instance numbers so double the work. 

Can you share an image or description of where you cannot find parts in the drawing views? Perhaps there is another way to help in your goal. 

 

Here is an example of populating instances by code

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan
0 Likes
Message 3 of 4

a881996FPGN
Contributor
Contributor

Hello A. Acheson


I have a assembly with 8 studs with the same section (here displayed as Part Number) but every single one have individual details that make them not 100% geometrically equal. When i make individual drawings and part list for each one, i dont have any parameter distinguishing them even tho geometrically they have differences. I wanted to know if is possible to enumerate all the studs in the assembly as C1,C2,...,C8.

Sem Título.png

0 Likes
Message 4 of 4

A.Acheson
Mentor
Mentor

I would think that these would get individual part numbers if there different but maybe you have a raw material as the part number. If this is only one small example then just add the instance iproperty manually. Here is the help file instructions for doing so.

 

Setting up the code is more complicated and only worth it if you have an enormous qty to do. The instance property can be controlled easily in the BOM editor.

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan