Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 798 Bytes

CC_GetEquipmentItem.md

File metadata and controls

39 lines (30 loc) · 798 Bytes

CC_GetEquipmentItem

Description

Gets the associated equipment item from the given device handle.

FUNCTION CC_GetEquipmentItem(hDevice : HANDLE): HANDLE;
def vs.CC_GetEquipmentItem(hDevice):
    return HANDLE

Parameters

Name Type Description
hDevice HANDLE

Examples

resultH := CC_GetEquipmentItem(hDevice);
import vs

# Gets the associated equipment item from the given device handle.
hDevice = vs.FSActLayer()  # handle to the first selected object on the active layer

objHandle = vs.CC_GetEquipmentItem(hDevice)
if objHandle is not None:
    vs.Message('Created object handle: ' + str(objHandle))

Version

Availability: from Vectorworks 2025

Category