I have an iLogic rule tied to an Event Trigger in an Inventor drawing. The rule contains the following line of code;
Call ThisApplication.CommandManager.ControlDefinitions.Item("DrawingArrangeDimensionsCmd").Execute()
While the above line works fine in Inventor Desktop, it is causing a failure in Inventor Design Automation. I have isolated the issue to this line because if this line is commented out, the rule runs fine in IDA.
The purpose of the above line of code is to call the "Arrange Dimensions" command. I suspect perhaps that calling commands is not allowed in IDA, but need to confirm.