Creating iLogic Rules – Continued Again
Finally, modify the newly pasted text to deactivate (suppress) both hole features when the holes parameter is set to “none”. Finish the statement by typing “End If” (or clicking the corresponding keyword button).
Your completed rule should look like this:
Feature.IsActive(“flange_hole”) = True
Feature.IsActive(“base_hole”) = False
ElseIf holes = “base” Then
Feature.IsActive(“flange_hole”) = False
Feature.IsActive(“base_hole”) = True
ElseIf holes = “none” Then
Feature.IsActive(“flange_hole”) = False
Feature.IsActive(“base_hole”) = False
End If
In the iLogic Rules Editor text window, right clicking will bring up a contextual menu with Cut, Copy and Paste, and other editing commands.
Click OK in the bottom right of the Rule Editor dialog. If there are no mistakes, the Rule Editor will close without an error message. An icon representing the new rule will appear in the iLogic Tree Editor. Verify this by opening the Tree Editor. You access this by clicking the Edit iLogic Tree icon:


The iLogic Tree Editor provides a way for you to see the rules in the current model. We’ll work more with the Tree Editor later in this tutorial.
1 – 2 – 3 – 4 – 5 – 6 – 7 – 8 – 9 – 10 – 11 – 12 – 13 – 14 – 15 – 16 – 17 – 18 – 19 – 20
Subsribe to Post Notifications


