
! script name: edit.d/editcontrolwt
! topic: edit weight of a control point

!A
!A NAME:
!A
!A 	Control Point Weight
!A
!A DESCRIPTION:
!A
!A 	This script allows the weight of a control point to be modified.
!A 	The weight determines how far away the tangent starts influencing
!A 	the curve for that point.  The increase or decrease in the weight
!A 	of a point pulls or pushes the curve toward or away from the point.
!A
!B INSTRUCTIONS:
!B
!B 	PICK CONTROL POINT: Pick the control point to be modified.
!B
!B 	NEW CONTROL PT WEIGHT: Enter the new weight for the control point.
!B

stat=ChangeLabelStr("ScriptNameStatus","Function: control point weight ")

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

DeActivateUndo
Stat=EditControlWt
IF (ExitScript(Destination$)) THEN Leave

Leave:!
IF (NOT LEN(Destination$)) THEN
	 LOAD "typecontrol"
ELSE
	 LOAD Destination$
END IF
END
