Use [[VS:GetLSN|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. |
[[User:CBM-c-|c]] 2016.02.29: This is deprecated and returns always -1 as of VW 2016.
==== VectorScript ====
lStyleValue := GetLS(handleToObject);==== Python ====
lStyleValue = vs.GetLS(handleToObject)GetLSN|GetLSN from Vectorworks 2013
Availability: from All Versions, deprecated from Vectorworks 2013
- Object Attributes