- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Have you thought about using external rules and global forms instead of local ones?
Is there some reason why you would need those rules local rather than external?
Here is a sample line of code that will run a rule that is local to another document:
iLogicVb.Automation.RunRule(oOtherDoc,"Rule Name")
Replace oOtherDoc with either the name of the ComponentOccurrence (including the colon and index number at the end of it, as shown in browser), or the full file name of the other document.
And replace "Rule Name" with the actual name of the rule in that other document you want to run.
Unfortunately, I can't think of a way to open an iLogic form that is local to another document right now, but as I said you could make the form global.
If the form was global, you could use a like like this to run it:
iLogicForm.ShowGlobal("Form 1")
Wesley Crihfield
(Not an Autodesk Employee)