class = "number", "distance" or "angle"

 

These classes are used to interactively get a dimensionless number, distance or angle. They support the same set of options.

 

Distances whose units are not explicitly specified are assumed to be given in the active system of linear units.

 

Angles whose units are not explicitly specified are assumed to be in degrees.

 

Units should be explicitly specified for all numbers contained in expressions, unless a number is dimensionless.

 

Use VxInpNum(), VxInpInt(), VxInpVal(), VxInpDst(), VxInpAng() or CdNumGetData() to retrieve data items of the numeric classes from a VDATA object.

 

 

"is_int"

 

Specify that the numeric input should be integer-valued.

 

"dyn"

 

Enable dynamic locator tracking.

 

"num=<VariableName>"

 

Initialize the numeric input to the floating point value stored in the double precision global variable specified by <VariableName>.

 

"int=<VariableName>"

 

Initialize the numeric input to the integer value stored in the double precision global variable specified by <VariableName>.

 

"max=<value>"

 

Set the upper bound for numeric input to <value>.

"min=<value>"

 

Set the lower bound for numeric input to <value>.

 

"ref=<field id>"

Use the start point and normal direction of the object associated with the template field specified by <field id> to initialize the global reference point and direction used to map locator location to a number. This is the feature used to get extrusion distances dynamically using the mouse.

 

"init=<field id>"

Use the numeric class (distance, angle, dimensionless) of the object associated with the specified template field to initialize the class (distance, angle, dimensionless) of the numeric input.

 

pop_ext

 

Display pop-up menu used for extrusion command. The menu has "To Point", "Boundary Face" and "Through All" options.

 

pop_ang

 

Display pop-up menu with options to get an angle by selecting a dimension and by selecting several pre-defined constants.

 

empty_ok

 

Accept field when the middle mouse button or <Enter> is pressed, even if the field is empty (i.e. doesn't have input data).

 

"~<function name>"

 

Calls the specified C function, which is assumed to be of type "void function(void)".

 

 

Return to VX CAD/CAM Index