Skip to content

Latest commit

 

History

History
40 lines (31 loc) · 773 Bytes

CC_RouteFromShape.md

File metadata and controls

40 lines (31 loc) · 773 Bytes

CC_RouteFromShape

Description

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

Parameters

Name Type Description
hObj HANDLE

Examples

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)

Version

Availability: from Vectorworks 2022

Category