You have copied some model iProperties in the drawing file of the model, following for instance the steps described in this article.
Of course you want to keep the model and drawing properties in sync, but you want to do that automatically, without having to remember to hit the “Update Copied Properties” button in the drawing.
In order to do that, you need to follow the steps below in the drawing.
- Menu Manage > iLogic > Add Rule.
- Create a rule using the Script you can download here.
- Menu Manage > iLogic > Event Triggers.
- Set the rule to run on the After Open Document and/or Before Save Document events or other events you may find more appropriate.
If you want, you can apply the steps above in a new drawing and save it as template.
Ale



Subscribe
I tried to create this rule and I get an error that says "Line 1: End of statement expected. Okay, what am I missing here?
John Weiss
CAD Administrator
Follett Corporation
Posted by: John Weiss | 01/02/2013 at 08:03 AM
Maybe something wrong with the copy and paste or with line feeds? What if you copy and paste following 3 lines of code in a rule:
Dim oControlDef as ControlDefinition
oControlDef = ThisApplication.CommandManager.ControlDefinitions.Item("UpdateCopiedModeliPropertiesCmd")
oControlDef.Execute2(True)
Posted by: Bob Van der Donck | 01/02/2013 at 09:16 AM
That did the trick!
Thanks!
John
Posted by: John Weiss | 01/03/2013 at 01:23 PM
will this rule create problems with released files?
I really don't need inventor to give me more saving errors.
Thanks
Posted by: Sofia | 02/18/2013 at 12:18 AM