Returns the value of a VectorWorks preference setting. Used with preference settings returning a REAL value.
A table of preference dialog items and their corresponding IDs may be found in the Scirpt Appendix.
FUNCTION GetPrefReal(prefIndex : INTEGER): REAL;def vs.GetPrefReal(prefIndex):
return REAL| Name | Type | Description |
|---|---|---|
| prefIndex | INTEGER | Preference item index. |
Returns the status of the specified preference item. Used for preferences that return a real instead of a Boolean (see GetPref)
upi:= GetPrefReal(152);upi = vs.GetPrefReal(152)Availability: from VectorWorks9.0