Creates cable route from the given shape. The shape must be polygon, polyline or 3D polygon.
PROCEDURE CC_RouteFromShape(hObj : HANDLE);def vs.CC_RouteFromShape(hObj):
return None| Name | Type | Description |
|---|---|---|
| hObj | HANDLE |
BEGIN
IF h3DPoly <> NIL THEN gPluginObjH := CC_RouteFromShape(h3DPoly)
ELSE gPluginObjH := CC_RouteFromShape(h);
END; {of MakeCableRoute}import vs
# Creates cable route from the given shape.
hObj = vs.FSActLayer() # handle to the first selected object on the active layer
vs.CC_RouteFromShape(hObj)Availability: from Vectorworks 2022