Use GetLSN instead. Function GetLS returns the line style of the referenced object.
FUNCTION GetLS(h : HANDLE): INTEGER;def vs.GetLS(h):
return INTEGER| Name | Type | Description |
|---|---|---|
| h | HANDLE | Handle to object. |
_c_ 2016.02.29: This is deprecated and returns always -1 as of VW 2016.
lStyleValue := GetLS(handleToObject);lStyleValue = vs.GetLS(handleToObject)GetLSN from Vectorworks 2013
Availability: from All Versions, deprecated from Vectorworks 2013