
! script name: plot.d/plotfour
! topic: Sample - plot view on a plotter

!A
!A NAME:
!A
!A 	Plot View
!A
!A DESCRIPTION:
!A
!A	This script is for plotting a view on a plotter. 
!A
!B INSTRUCTIONS:
!B
!B 	NO HELP AVAILABLE AT THIS TIME
!B
!C NOTE:
!C
!C 	This is an unsupported sample script.
!C

stat=ChangeLabelStr("ScriptNameStatus","Function: plot view ")

DIM Destination$[256]
DIM Answer$[256]

stat= OutputString("plotfile",CHR$(10),WsNewFile)

stat= TurnViewOn(4)

stat= ChangeP1_P2(4,-15710,-7090,0,0)

stat= StdViews( 4 ,WsTopView,WsAutoFit)

stat= ChangeP1_P2(4,-15710,0,0,7090)

stat= StdViews( 4 ,WsFrontView,WsAutoFit)

stat= ChangeP1_P2(4,0,-7090,15710,0)

stat= StdViews( 4 ,WsSideView,WsAutoFit)

stat= ChangeP1_P2(4,0,0,15710,7090)

stat= StdViews( 4 ,WsIsoView,WsAutoFit)

stat= TurnViewOff(4)
stat= OutputString("plotfile",CHR$(10),WsAppend)

stat= StartProcess("tst &")

Leave:!
	 LOAD "typecontrol"
END
