Is it possible to create an iLogic rule to insert a Part List item number into a part detail label?

Is it possible to create an iLogic rule to insert a Part List item number into a part detail label?

Anonymous
Not applicable
300 Views
1 Reply
Message 1 of 2

Is it possible to create an iLogic rule to insert a Part List item number into a part detail label?

Anonymous
Not applicable

As the title says, I want to make view labels of my part details automatically show the appropriate item number of a part list. We generally have the assembly and its part list on the first pages, and the part details on the later pages. I don't think INV2022 actually added anything for this, so I guess an iLogic rule is the only way.

 

So I don't really know much about iLogic, my few scripts are extremely basic and this exceeds my knowledge of the software.

 

My idea of the script would be this :

(note that we never have parts with the same part numbers in the same assembly, and we don't use merge rows neither, only one part list per drawing, multiple pages)

 

Loop to check if a view is about a part (.ipt)

     if it is, check if view label is visible/ if it isn't do nothing

          if it is, compare the part number of the part with part numbers of the part list/ if it isn't do nothing

               if it matches, label = " Item #'item_number' "/ if it doesn't match don't modify the label

               probably end the compare loop once it checked every item of the part list

end loop once every view has been checked

 

That iLogic rule would exist inside the drawing template

0 Likes
301 Views
1 Reply
Reply (1)
Message 2 of 2

johnsonshiue
Community Manager
Community Manager

Hi! This has been discussed before. A quick google search of "Autodesk Inventor iLogic Part Item Number Label" shows the following thread. There might be other related threads. Please take a look.

 

https://forums.autodesk.com/t5/inventor-customization/ilogic-item-number-from-part-list-into-drawing...

 

Many thanks!



Johnson Shiue (johnson.shiue@autodesk.com)
Software Test Engineer