Gets the associated equipment item from the given device handle.
FUNCTION CC_GetEquipmentItem(hDevice : HANDLE): HANDLE;def vs.CC_GetEquipmentItem(hDevice):
return HANDLE| Name | Type | Description |
|---|---|---|
| hDevice | HANDLE |
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))Availability: from Vectorworks 2025