Please enable JavaScript to view this site.

Vensim Help

Displays a view at the stated position. txt is used to name the view for printing or exporting. com determines which view to display with 1 for the first view, 2 for the second and so on.  The names of the views (as shown in the sketch View menu) are not used here.

Sketches are displayed with no borders.  If you want to see a border create a RECTANGLE or use a LINE control slightly bigger than the sketch.

acc should contain the scaling percentage to be used in displaying the sketch.  If acc is empty the sketch is shown at 100%.  

NOTE Use a zoom value of 5 to fit the sketch to the screen.

jst should contain S if you want scroll bars enabled, or B if you want the sketch to appear as background (this allows you to place other controls on top of the sketch).  By default scroll bars are not shown on sketches displayed in Venapps.

SKETCH,"SK1",0,0,100,80,,5,6,

This displays the sixth view with no scroll bars and zoomed so that it will fit in the allocated area.

SKETCH,"SK1",0,0,100,100,B,75,6,

This displays the sixth View as background at 75%.

You can place as many sketches on a screen as you want.  You can place other controls on top of sketches, but controls that do not create a separate window (SHOWVAR, GRAPHVAR and so on) will not be visible.  If you want to place a control on top of a sketch, the control should appear before the sketch in the screen definition.  If you want to make all controls visible, use the sketch as a background sketch.  You can only have one background sketch, and it will always start in the upper left hand corner regardless of the x,y settings.