Does anyone know a way, either with iLogic, VB, or just an option somewhere, that I can perform the "Update Copied Properties" function (found under the "manage" tab in a drawing) automatically on save? I copy properties to my DWG from my assembly but it only copies the first time and won't automatically update if I change something in the assembly iProperties. Thanks!
Solved! Go to Solution.
Try this iLogic code from Being Inventive.
Well now I have a weird problem. I added the following code to my iLogic browser and set it to run before save (also set it to after save, still problems):
Dim oControlDef as ControlDefinition
oControlDef = ThisApplication.CommandManager.ControlDefinitions.
And now I save the document, my other rules run, this rule seems to run, but document doesn't appear to actually save. I say this because I go to Vault>Check In and it says I need to save my drawing, so I say yes, my rules run, then nothing happens. I press check in again and it repeats the same process.
As soon as I suppress this new Copy Properties rule, I check in, it asks me to save, I say yes and it checks in no problem.
Bugger! Happy to supply the code but that's where my iLogic knowledge ends.
Maybe if you post this on the Inventor Customisation forum you might get a better answer. http://forums.autodesk.com/t5/Inventor-Customizati
Log into access your profile, ask and answer questions, share ideas and more. Haven't signed up yet? Register