Message 1 of 1
iAssembly and Parts List - access to member data
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Good morning,
I have assembly drawings that contain a factory drawing and multiple parts lists for all the members.
I am trying to automatically generate title of the Parts list - to include member part number. The member part number is also required for parts list export - I'd like to map the member part number to the exported file name.
I am having trouble to access the member information from the parts list. This code returns an error:
string[] membersList = partsList.get_MembersToInclude();
Error message:
{"Member not found. (Exception from HRESULT: 0x80020003 (DISP_E_MEMBERNOTFOUND))"}
The property "MembersToInclude" shows that there is one element in the array:
Could someone point me in the right direction please?
Kind regards
Przemek