Updating entire assembly using iLogic
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi All,
Having a few troubles updating and saving a couple of iLogic controlled assemblies i'm working on...
Firstly, i want to perform and update and save of the main assembly before triggering the opening of the various IDW files to save as PDF's.
The only 2 functions i currently know of are:
InventorVb.DocumentUpdate()
&
iLogicVb.UpdateWhenDone = True
It seems that InventorVb.DocumentUpdate() doesn't seem to perform a proper "update" in Inventor terms as the geometry is not updating immediately and the update button in Inventor is still active after running the rule using this method.
The iLogicVb.UpdateWhenDone = True works perfectly, the only problem is that if i trigger another rule or perform other functions within the rule containing this function, the resulting drawings aren't updated as the update doesn't complete until after all the rules have finished running (a little pointless in this scenario).
The overall aim is to completely update and save (in order to update BOM) the top level assembly, and then subsequently trigger the opening of the relevant 2D drawings. I have figured out the launching, save as, and closing of the 2D drawing files, but i can't seem to get the information updated and saved before it all happens!
Any advice is appreciated...
