Reply To: SWITCH function script usage

Optuma Forums Optuma Scripting SWITCH function script usage Reply To: SWITCH function script usage

#46691
Matthew
Matthew
  • Topics: 3
  • Replies: 58
  • Posts: 61

Hi Colin,

Thank you for providing this information.

There appears to be an issue related to the order of the plot lines.  The developers are looking into it now, but in the meantime we were able to work around the issue by modifying the script to the following:

 

You can see the position of Plot1 and Plot2 were moved higher into the script, this allowed it to be saved.  We also removed some of the dot notations like .visible which do not exist (we’re also investigating the plot notation functions).

With regards to your earlier query yesterday, the following table can be used as a reference as to how the Switch function works in each scenario:

SwitchTable

In this example P1 is the turn on condition and P2 is the turn off condition.

Once an update is available to resolve the ordering issue with the plot lines in the script i will post an update on this thread.

 

 

 

  • This reply was modified 2 months, 2 weeks ago by Matthew Matthew.

Pin It on Pinterest

Share This

By continuing to use the site, you agree to the use of cookies. more information

The cookie settings on this website are set to "allow cookies" to give you the best browsing experience possible. If you continue to use this website without changing your cookie settings or you click "Accept" below then you are consenting to this.

Close