iLogic Triggers
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I was just wondering if there is a way to create the propertyset for "iLogicEventsRules"? I dont have any trouble creating a property set of the same name but it doesn't actually work when triggers are added. I think the problem is that the internalname is incorrect. The code I have used to create the set is:-
call opartdoc.PropertySets.Add("iLogicEventsRules")
This works without crashing. However I think I need something more along the lines of:-
call opartdoc.PropertySets.Add("iLogicEventsRules", "{2C540830-0723-455E-A8E2-891722EB4C3E}")
The reason I am trying to do this is because some of out old files from Inventor 11 (not 2011) that were created with the frame generator no longer update there length parameter (G_L) so we are now setting them up to update through a combination of VB.net scripts, iLogic and VBA. I know sounds rediculous but it works. THe only trouble being with old parts I can't figure out how to set the triggers therefore I need to set them all manually.
Thanks in advance
Dan