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| Name | Type | Description |
|---|---|---|
| hPoly | HANDLE | Handle of the poliline |
| vertexNum | INTEGER | Index of vertex to be queried. |
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))VS Functions: GetPolylineVertex | SetPolylineVertex
Availability: from Vectorworks 2012