My iLogic assy ig ok - ish it will run.
After the first run the global update lights up & many things are wrong.
After a second run all is well 7 the Global Update switches off.
I'd like to automate running the rule until the Global update is Off.
How can I tell the state of the Global Update?
Ta
MES
You may check boolean Document.RequiresUpdate property value.
This property indicates if any of the entities within this document's scope is out of date with respect to its driving entities.
BTW Sometimes it is convenient to run programmatically Inventor commands
(like RebuildAll / SaveAll / etc.)
Dim CommandName As String = "AppSaveAllCmd" 'Reference to CommandManager Dim oCommandMgr As CommandManager = ThisApplication.CommandManager 'Reference to command definition Dim oControlDef As ControlDefinition = oCommandMgr. _ ControlDefinitions.Item(CommandName) Call oControlDef.Execute() 'execute command Beep ' <-- can be removed ' --- Popular commands --- 'AppSaveAllCmd 'AppCloseAllCmd 'AssemblyRebuildAllCmd 'PartRebuildAllCmd 'AppRebuildAllWrapperCmd
See this post for more detailes on Inventor commands:
http://modthemachine.typepad.com/my_weblog/2009/03/running-commands-using-the-api.html