Using Switch Parameters

Top  Previous  Next

You can control a switchable component by using a switch parameter. In the switch parameter location add a parameter (or calculation) which returns a 0 for "off" and any other value for "on".

 

clip2150

 

The simplest switch parameter would be something like $a=range(0,1) which will switch on or off 50% of the time but you can be far more imaginative if you like! For example, you could use $a=range(0,3) which will be on 75% of the time.

 

Switch parameters allow you to create electrical component diagrams that can dynamically switch switches and turn on globes.

 

clip2151

clip2152

clip2153

 

The parameters we have used are below.

 

clip2154                        clip2155