VS:SetEditReal

From Vectorworks Developer
Revision as of 10:37, 12 August 2013 by Root (Talk | contribs)

(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)
Jump to: navigation, search

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

Sets the numeric value of the specified REAL numeric edit field control.
Table - Field Types for EditReal Fields
Index Field Value
1 REAL value
2 Angular value
3 Dimension
4 X coordinate
5 Y coordinate
PROCEDURE SetEditReal(
dialogID  :LONGINT;
itemID  :LONGINT;
editRealType  :LONGINT;
value  :REAL);
def vs.SetEditReal(dialogID, itemID, editRealType, value):
    return None

Parameters

dialogID LONGINT The index of the dialog layout containing the control.
itemID LONGINT The index of the control item.
editRealType LONGINT The type of REAL value displayed in the field.
value REAL The new value for the field.

Remarks

Note that dimension reals do not accept negative numbers. If your field might contain negatives, and you still want the units mark to show, use x or y coordinate reals.

Version

Availability: from VectorWorks 9.0
Personal tools
NamespacesFFFF

Variants
Actions
Advanced Search
See Also
Navigation
Toolbox