Skip to content

Latest commit

 

History

History
38 lines (29 loc) · 634 Bytes

File metadata and controls

38 lines (29 loc) · 634 Bytes

GetPtInPoly

Description

Finds a point inside a polyline.

FUNCTION GetPtInPoly(h : HANDLE): VECTOR;
def vs.GetPtInPoly(h):
    return VECTOR

Parameters

Name Type Description
h HANDLE

Examples

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))

Version

Availability: from Vectorworks 2014

Category