Creates device from the given shape. The shape must be rectangle, rounded rectangle, polygon or polyline.
PROCEDURE CC_DeviceFromShape(hObj : HANDLE);def vs.CC_DeviceFromShape(hObj):
return None| Name | Type | Description |
|---|---|---|
| hObj | HANDLE |
BEGIN
gPluginObjH := CC_DeviceFromShape(h);
END; {of MakeDevice}import vs
# Creates device from the given shape.
hObj = vs.FSActLayer() # handle to the first selected object on the active layer
vs.CC_DeviceFromShape(hObj)Availability: from Vectorworks 2022