Finds a point inside a polyline.
FUNCTION GetPtInPoly(h : HANDLE): VECTOR;def vs.GetPtInPoly(h):
return VECTOR| Name | Type | Description |
|---|---|---|
| h | HANDLE |
result := GetPtInPoly(h);import vs
# Finds a point inside a polyline.
h = vs.FSActLayer() # handle to the first selected object on the active layer
vec = vs.GetPtInPoly(h)
vs.Message('GetPtInPoly returned: ' + str(vec))Availability: from Vectorworks 2014