iLogic Tutorial for the iDoor – 14

iLogic Tutorial – Creating the “Handed” iLogic Rule

You should now have code that matches the code shown in the image below.

The next seven lines tell the rest of the right-hand features to be suppressed, and the eight after that tell all eight of the left-hand features to be unsuppressed. You can copy and paste the text below into the code window, but it is not good practice. You can copy and paste the code below, but it would be better practice to write the code yourself.

The next part basically says “do what it says above unlessRight is selected. If it is, then do the following. The list is exactly the same as the one above except for the true and false statements being reversed.

The last chunk tells the program to follow all of the instructions above unless the value is None, in which case, do the following. It is again exactly the same code chunk as those above with the exception of all values being False. If the value is “None”, all features listed are suppressed.