HANDLEFACTOR
sets a factor by which a measured handle distance is multiplied in order to get a parameter value. HANDLEFACTOR
is a directive and is valid until it is changed to another value.
Syntax
HANDLEFACTOR expr
Parameter
expr
(decimal, default = 1): factor to multiply a measured handle distance
Remarks
You can use HANDLEFACTOR
for example for a circle with a handle on the circular arc: the measured distance between handle and center point is the radius, the parameter represents the diameter. Therefore, before the handle definition you insertHANDLEFACTOR 2.0
Then the measured value (radius) is multiplied by 2, and the parameter gets the value
2*radius = diameter
Don't forget to reset HANDLEFACTOR
to 1.0 after the affected handle.
Usable since script version 1.1 (Allplan 2012-1).
(C) ALLPLAN GmbH |
Privacy policy |