Skip to content

Latest commit

 

History

History
39 lines (30 loc) · 738 Bytes

GetLoadParent.md

File metadata and controls

39 lines (30 loc) · 738 Bytes

GetLoadParent

Description

Get the count of cells attached to a Lighting Device.

FUNCTION GetLoadParent(handle : HANDLE): HANDLE;
def vs.GetLoadParent(handle):
    return HANDLE

Parameters

Name Type Description
handle HANDLE

Examples

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))

Version

Availability: from Vectorworks 2025

Category