! script name: tsm.d/stpoint
! topic: draw start point X0 Y0 Z0
! Version_280202.a
!A
!A NAME:
!A
!A 	Start Point
!A
!A DESCRIPTION:
!A
!A 	This Script will draw the axis lines for X, Y, and Z.
!A
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
stat=ChangeLabelStr("ScriptNameStatus","Function: start point ")
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DIM Answer$[256]
DIM Destination$[256]
DEG
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
DeActivateUndo
!Current_linetype= CurrentLT
!Current_color= CurrentColor
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Units= CurrentUnits
!Axis_length= .125
!Radius= 0.0625
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Stat= SetCurrentLayer(0)
!Stat= SetCurrentLT(1)
!Stat= SetCurrentColor(3)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Ps=PointXYZ(-Axis_length,0,0)
!Pe=PointXYZ(Axis_length,0,0)
!L1=LineTwoPoints(Ps,Pe,WsTRIMMED)
!Stat=DeleteEntity(Ps)
!Stat=DeleteEntity(Pe)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Ps=PointXYZ(0,-Axis_length,0)
!Pe=PointXYZ(0,Axis_length,0)
!L1=LineTwoPoints(Ps,Pe,WsTRIMMED)
!Stat=DeleteEntity(Ps)
!Stat=DeleteEntity(Pe)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Stat= SetCurrentLT(0)
Stat= SetCurrentColor(2)
Pc=PointXYZ(0,0,0)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Ps=PointXYZ(0,0,0)
!C1=RadiusCenter(Radius,Ps)
!Stat=DeleteEntity(Ps)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
!Pe=PointXYZ(Axis_length,-.05,0)
!T1=TextLine(Pe,"X 0.0")
!Stat=DeleteEntity(Pe)
!Pe=PointXYZ(-.25,Axis_length,0)
!T1=TextLine(Pe,"Y 0.0")
!Stat=DeleteEntity(Pe)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Stat=ResizeView( 1 ,WsNoPlotUpdate)
Stat= SetCurrentColor(0)
Stat= SetCurrentLayer(0)
!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!!
Leave:!
LOAD "hexajet.d/hexajetcontour"
IF (NOT LEN(Destination$)) THEN
	 LOAD "typecontrol"
ELSE
	 LOAD Destination$
END IF
END
