Get the count of cells attached to a Lighting Device.
FUNCTION GetLoadParent(handle : HANDLE): HANDLE;def vs.GetLoadParent(handle):
return HANDLE| Name | Type | Description |
|---|---|---|
| handle | HANDLE |
resultH := GetLoadParent(handle);import vs
# Get the count of cells attached to a Lighting Device.
handle = vs.FSActLayer() # handle to the first selected object on the active layer
objHandle = vs.GetLoadParent(handle)
if objHandle is not None:
vs.Message('Created object handle: ' + str(objHandle))Availability: from Vectorworks 2025