Message 1 of 8
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Is it possible to make a external rule that adds rules to a file?
For example:
I have some newly made rules in my .iam and .ipt template that I want to add to existing parts/assemblys. Can I somehow make a external rule that does something like:
iLogicVb.AddRule("Template.iam", "Find Part") '-- Notice AddRule instead of RunRule
iLogicVb.AddRule("Template.iam", "Write")
'-- etc
The same thing for forms. I know I can copy and paste forms, but it would be easier to do this within the same external rule.
Or would my best way to achieve this be template swap on existing parts?
Solved! Go to Solution.