
! script name: plot.d/setrotatecenter
! topic: sets rotation center

!A
!A NAME:
!A
!A 	Set Rotate Center
!A
!A DESCRIPTION:
!A
!A 	This script sets the center point for dynamic rotation
!A

stat=ChangeLabelStr("ScriptNameStatus","Function: Set rotation center ")

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

Stat=SetInputFormat("n4","")

Center=XyzInput("INPUT ROTATION CENTER",WsXyzInput)
IF (ExitScript(Destination$)) THEN Leave

Stat= SetRotateCenter(Center)
Stat= DeleteEntity(Center)

Leave:!
	 LOAD "typecontrol"
END
