Please enable JavaScript to view this site.

Vensim Help

Indicates a command to be invoked whenever a new variable is selected into the workbench.  This allows feedback from double clicks on a variable to the new condition - enabling very quick causal tracing.  A generic causal tracing screen is:

:SCREEN CAUSE

TEXTONLY,"Causal tracing -",0,2,50,0,R

WBVAR,"",50,2,0,0,L

TOOL,"TR1",2,6,96,42,,,WORKBENCH>CAUSES TREE

BUTTON,"T - Trace on highlight",\

5,50,0,0,L,Tt,SPECIAL>SECONDCLICK|TR1,

BUTTON,"S - Select a new variable to trace"\

,5,70,0,0,L,Ss,SPECIAL>VARSELECT|New variable for tracing

SETWB,"",0,0,0,0,,,,CAUSE

The last command causes the screen to be refreshed with the new workbench variable each time a new variable is selected into the workbench.