Automate event trigger edit
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello!
I'm writing to ask for some help to correct a problem we have in our existing .idw files. When I initially set up our drawing template I found an iLogic code to create the Total Weight of all the parts in an assembly. This iLogic code parsed the unit string and allowed me to round the value to a reasonable length.
Unfortunately I wasn't very aware of the Event Triggers and the effect it had on the drawing files. I added the trigger both before, and after the Save function. This creates a problem because the file wants to be saved again, because I've modified the file after the save.
In order to correct the error, I simply need to move the TotalWT from the 'After Open Document' to 'Before Save Document' and then remove the TotalWT from 'After Save Document'.
I've been doing this edit manually but we have thousands of drawings that need this edit. Is there some way for me to use some sort of process to update all of the drawings that need the edit? I'm hoping that perhaps there's some way to use the job processor to help with this process. I'm thinking maybe iLogic code could do this, but I'm only guessing (hoping).
I've attached a couple of screen shots which shows the Even Triggers, before and after the edits.
Any suggestions would be greatly appreciated!
Best regards,
John