Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 711 Bytes

CC_DeviceFromShape.md

File metadata and controls

39 lines (30 loc) · 711 Bytes

CC_DeviceFromShape

Description

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

Parameters

Name Type Description
hObj HANDLE

Examples

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)

Version

Availability: from Vectorworks 2022

Category