Trigger an External Rule after a parameter change
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello everyone...
I´ve been trying to trigger an external rule when I change any parameter in an ipt file. I founded in Autodesk User Group International's website the following:
"Notes on External Rules: External Rules do not run automatically in response to parameter changes. If you need this functionality, you will have to code it yourself. Check out ‘ModelingEventsSink.OnParameterChange Method’ in the developer help."
To see the full article:
http://www.augi.com/library/playing-by-the-ilogic-rules
After that, I went to the developer help but I couldn´t understand how to write the code to run the external rule after changing any of the existing parameters in my model. I already tested my code as an internal rule and use the trigger "Any model parameter change" and it works fine.
Can anybody help sending me a sample code so I can adapt it to my rule?
Thanks
Juan Velez