In the parts list Items appearing in dark blue indicate the changes made have not been saved to the assembly Bill of Materials; with Save Item overrides to BOM these changes are saved back to the BOM, I'm looking for the opposite command (or solution via API) to cancel the parts list changes or restore the BOM values.
Is there a command or a straightforward implementation thru API to achieve this?
Solved! Go to Solution.
Solved by danipon71. Go to Solution.
Delete all parts lists linked with that one.
Place a new parts list.
Hi @danipon71,
Unfortunately, Inventor API does not support single command which can restore unsaved parts list and balloons both.
Is it possible to iterate through all Balloons and compare with present parts list?
Thanks and regards,
Hi @chandra.shekar.g,
> Is it possible to iterate through all Balloons and compare with present parts list?
I don't really get this point, are you integrating the @MechMachineMan answer? Because the balloons are updated on the parts list changes
What is possible at the moment is to iterate through all BOM's items and compare with present parts list, setting parts list cells that are different.
I haven't tryed to write this solution yet, but thru the UI this isn't enough because the parts list cells still appear in dark blue even if they're equal to the BOM's value; so it's necessary to call the Save Item overrides to BOM command; and that sounds a little bit odd and I don't know if it has side effects.
Ok I get the solution.
1. Double click on the parts list.
2. Select all the cells (or what you want)
3. Right click and click on Static value. Now all the selected cells have an overridden value.
4. Select again the cells, Right click and click on Static value.
The property in the API is PartsListCell.Static.
A single command would be useful but that's ok for now.
Can't find what you're looking for? Ask the community or share your knowledge.