iAssembly Partlist Member change

iAssembly Partlist Member change

Anonymous
Not applicable
441 Views
3 Replies
Message 1 of 4

iAssembly Partlist Member change

Anonymous
Not applicable

I am looking for a little help. I am able to change the iAssembly members in my idw. However I seem to be stuck with updating the partlist.

 

At oPartList.MembersToInclude "iAssembly member name here" does not seem to add it to the part list.

 

Also, I do not see how you can uncheck or "No to all". Does anyone have any light they can shed on this?

 

Dim oDrawDoc As DrawingDocument

Set oDrawDoc = ThisApplication.ActiveDocument

Dim oPartList As PartsList

Set oPartList = oDrawDoc.ActiveSheet.PartsLists.Item(1)

oPartList.MembersToInclude "iAssembly member name here"

oPartList.HideZeroQuantityRows = False

 

Thanks

Wayne

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

Anonymous
Not applicable

I am guessing it is a secret.

0 Likes
Message 3 of 4

adam.nagy
Autodesk Support
Autodesk Support

Hi Wayne,

 

It isn't a secret anymore 🙂

http://adndevblog.typepad.com/manufacturing/2016/02/change-memberstoinclude-of-a-partslist.html

 

Cheers,

 



Adam Nagy
Autodesk Platform Services
Message 4 of 4

Anonymous
Not applicable
Thank you Adam! Works like charm.
0 Likes