Skip to content

Latest commit

 

History

History
48 lines (38 loc) · 1.07 KB

File metadata and controls

48 lines (38 loc) · 1.07 KB

GetPolylineArcMaxRadius

Description

Return a maximum radius of the specified vertex of type arc or radius of a polyline.

FUNCTION GetPolylineArcMaxRadius(
				hPoly     : HANDLE;
				vertexNum : INTEGER): REAL;
def vs.GetPolylineArcMaxRadius(hPoly, vertexNum):
    return REAL

Parameters

Name Type Description
hPoly HANDLE Handle of the poliline
vertexNum INTEGER Index of vertex to be queried.

Examples

resultVal := GetPolylineArcMaxRadius(hPoly, 1);
import vs

# Return a maximum radius of the specified vertex of type arc or radius of a
# polyline.
hPoly = vs.FSActLayer()  # handle to the first selected object on the active layer
vertexNum = 1

value = vs.GetPolylineArcMaxRadius(hPoly, vertexNum)
vs.Message('GetPolylineArcMaxRadius returned: ' + str(value))

See Also

VS Functions: GetPolylineVertex | SetPolylineVertex

Version

Availability: from Vectorworks 2012

Category