Update/ replace parts list

Update/ replace parts list

j.wolbers-NoTech
Enthusiast Enthusiast
791 Views
1 Reply
Message 1 of 2

Update/ replace parts list

j.wolbers-NoTech
Enthusiast
Enthusiast

Hi,

 

A while ago we found a type of error in our Parts list.

However, the only way to update this on copied drawings is to remove the parts list and add it again.

Is there a way to have this done automatically through iLogic?

 

Kinds regards,

Jeffrey

0 Likes
Accepted solutions (1)
792 Views
1 Reply
Reply (1)
Message 2 of 2

FINET_Laurent
Advisor
Advisor
Accepted solution

Here you may find answers to your questions. :

 

Creating part list :

https://forums.autodesk.com/t5/inventor-customization/formatting-and-creating-a-parts-list-with-ilog...

 

Removing part list

https://forums.autodesk.com/t5/inventor-customization/ilogic-bom-part-list-in-drawing-document-creat...

 

To remove an existing part list in the drawing document :

Dim ThisDrawDoc As DrawingDocument 
ThisDrawDoc = ThisApplication.ActiveDocument
Dim ThisSheet As Sheet
ThisSheet = ThisDrawDoc.ActiveSheet
Dim oPartsList As PartsList

oPartsList = ThisSheet.PartsLists.Item(1)

oPartsList.Delete

Regards,

 

FINET L.

If this post solved your question, please kindly mark it as "Solution"

If this post helped out in any way to solve your question, please drop a "Like"

@LinkedIn     @JohnCockerill

0 Likes