Message 1 of 3
iLogic rule override another rule

Not applicable
11-05-2015
03:18 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have two rules in my part, the first is:
If uppersystem <114 Then Feature.IsActive("Cut12") = False Feature.IsActive("Flange11")= False Feature.IsActive("Flange12")= False Feature.IsActive("Cut9") = False Feature.IsActive("Flange13")= False Feature.IsActive("Flange14")= False
ElseIf uppersystem >=114 Then Feature.IsActive("Cut12") = True Feature.IsActive("Flange11")= True Feature.IsActive("Flange12")= True Feature.IsActive("Cut9") = True Feature.IsActive("Flange13")= True Feature.IsActive("Flange14")= True
End If
And my second rule is:
If hinge = 0 Then
Feature.IsActive("Cut12") = True
Feature.IsActive("Flange11")= True
Feature.IsActive("Flange12")= True
Feature.IsActive("Cut9") = False
Feature.IsActive("Flange13")= False
Feature.IsActive("Flange14")= False
ElseIf hinge = 1 Then
Feature.IsActive("Cut12") = False
Feature.IsActive("Flange11")= False
Feature.IsActive("Flange12")= False
Feature.IsActive("Cut9") = True
Feature.IsActive("Flange13")= True
Feature.IsActive("Flange14")= True
End If
I want the first rule to override (take priority) over the second when the uppersystem < 114 so that all the features suppress. At the moment when uppersystem < 114 my features supress initially but when I change hinge from 0 to 1 or vice versa they appear again.
But it gets even more tricky as when uppersystem >= 114 then I want my second rule to override the first.
Regards,
Craig