iLogic run rule

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have an assembly with multible parts which all have iLogic rules in them. I want to controle when the rules are executed in each part, thus I have set them as "Don't run automatically". These rules are iTriggered by the top assembly, if they are active.
Is there a possibility of how I can run multiple rules simultaneously?
The code below is an example of the controle rule that determines the rules to be run but it takes one rule at the time...
IfComponent.IsActive("5580 Heating element package 1")=TrueThen
iLogicVb.RunRule("5580 Heating element basket 1", "iTriggerRule")
EndIf
IfComponent.IsActive("5580 Heating element package 2")=TrueThen
iLogicVb.RunRule("5580 Heating element basket 2", "iTriggerRule")
EndIf
.
.
.
up to x
I have also tried with For - Next statements...
But the rules are run in the order that tey are written...
As the computer has a lot of memory in reserve; I want somehow all the iTriggerRules to be run at the same time as this would save a lot of time.
Any help would be appreciated.
Regards
Kari