Please enable JavaScript to view this site.

Vensim Help

Displays a custom report of graph.  To work properly, the correct custom graph definitions must be loaded.  See the SPECIAL>READCUSTOM command.

The CUSTOM class is followed by the name of a custom tool.  If part of a TOOL or WIPTOOL control this places the custom graph or report at the desired location, otherwise a new child window is created with the appearance of a Vensim tool output window.

If part of a BUTTON or TEXTMENU control the custom graph name may be followed by  a | and either the name of an existing graph output or an exclamation mark !.  Using the name of  an existing output — the name that is specified in the name field of the TOOL or WIPTOOL control — will cause that output to be replaced.  Using an exclamation mark will cause the previous invocation of the same tool or custom graph to be replaced.  This latter is useful in preventing screen clutter with multiple copies of the same graph.  Clicking twice on the same graph button will only cause a single graph to appear.  

The following allows you to choose among a number of different graphs on a single screen:

:SCREEN OUTPUT

COMMAND,"",0,0,0,0,,,SPECIAL>SETWBITEM|Morale

RECTANGLE,"",67,1,32,91,L 7

TEXTONLY,"Important Graphs",73,4,0,0,l

TEXTMENU,"1. Morale",68,11,0,0,L,, 

SPECIAL>SETWBITEM|Morale&CUSTOM>MORALE|GR1&WORKBENCH>TABLE|TAB

TEXTMENU,"2. Overtime",68,18,0,0,L,,\

SPECIAL>SETWBITEM|Overtime&CUSTOM>OVERTIME|GR1&WORKBENCH>TABLE|TAB

TEXTMENU,"3. Accidents",68,25,0,0,L,,\

SPECIAL>SETWBITEM|accidents&CUSTOM>ACCIDENT|GR1&WORKBENCH>TABLE

TOOL,"GR1",1,1,65,62,,,CUSTOM>MORALE

TOOL,"TAB",1,64,65,28,C 2,,WORKBENCH>TABLE

BUTTON,"Return",12,93,30,5,L 2,,,SIMUL

BUTTON,"Analysis",54,93,30,5,L 2,,,ANALYZE

The screen first displays the graph for morale, and then allows you to switch between different graphs.