cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Update Parts List Style API support

Update Parts List Style API support

Currently there is no API support for updating a parts list style, so we have to use some workarounds. 

Example:
If we have an existing a parts list on a drawing that uses a style of a certain name ( let's say PartsListStyle1) and the style changes, the existing parts list will still be using the old version of the style ( as an override of sorts), and we have to set the parts list to use a different parts list style temporarily, and then set it back to the original style to get it to update.

It would be nice to be able to use something like this:

Dim oDoc As DrawingDocument = ThisApplication.ActiveDocument
Dim oPartsList As PartsList = oDoc.ActiveSheet.PartsLists(1)
oPartsList.Style.UpdateFromLocal


related link:
https://forums.autodesk.com/t5/inventor-programming-forum/update-parts-list-in-idw/td-p/14120743

Can't find what you're looking for? Ask the community or share your knowledge.

Submit Idea