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