item qty in parts lists - use view rep and not entire assembly to get item qty or occurrences

item qty in parts lists - use view rep and not entire assembly to get item qty or occurrences

Shag_Bore
Advocate Advocate
242 Views
1 Reply
Message 1 of 2

item qty in parts lists - use view rep and not entire assembly to get item qty or occurrences

Shag_Bore
Advocate
Advocate

I know that newer versions have this option available to filter visible qty's. I am currently running 2016, does anyone have a rule to update item qty in parts lists, or a work around to get view rep occurrences in part list.

 

bom9.PNG

 

Thanks!

Sean Farr
Product Designer at Teksign Inc.
Inventor 2016 SP1
Dell Precision 3660
i7-12700 @ 2.40GHz-4.90GHz
32GB DDR5 4400MHz RAM
NIVDIA RTX A2000 6GB
0 Likes
Accepted solutions (1)
243 Views
1 Reply
Reply (1)
Message 2 of 2

A.Acheson
Mentor
Mentor
Accepted solution

Hi @Shag_Bore 

Unfortunately a lot of the Parts list options are not exposed to the API so to get your effect would be a long workaround. You would need to look into the active view rep of the view, get all the parts and qty's for this view rep then loop through the the partslist row referenced document  matching to the view rep list then and if found overwrite the partlist qty with that from the list. You will end up with every qty overridden and really a mess for anyone coming behind wanting to know where the values came from. 

See this post on future improvements form the inventor idea. It won't help your future  initial question but for the future inventor version. 

If this solved a problem, please click (accept) as solution.‌‌‌‌
Or if this helped you, please, click (like)‌‌
Regards
Alan