iLogic and iParts

iLogic and iParts

Anonymous
Not applicable
449 Views
1 Reply
Message 1 of 2

iLogic and iParts

Anonymous
Not applicable

I have an assembly with multiple iPart occurrences within. Some of these iParts have numerous iLogic rules defined in their parent factory documents. My question is, can I invoke these rules from within this other assembly? I tried doing something like the following:

 

SyntaxEditor Code Snippet

iLogicVb.RunRule("Component Name", "Catalog Selection", map)

Where the "Component Name" is the stabilized name of the iPart component in the assembly tree. Now this doesn't throw any errors at me but it also doesn't run the rule either... I know this because I modified one rule to do some crazy/obvious stuff to my assembly but nothing happened. I think this is going to be an exercise in futility but I welcome any feedback at all.

 

Best Regards 

0 Likes
Accepted solutions (1)
450 Views
1 Reply
Reply (1)
Message 2 of 2

Anonymous
Not applicable
Accepted solution

The above method worked after I regenerated the rule in the parent Factory Document... not exactly sure when Regeneration is necessary or why this worked in my case. 

0 Likes