Function CreateSkylight creates a new skylight in the referenced roof object.
FUNCTION CreateSkylight(roofObject : HANDLE): INTEGER;def vs.CreateSkylight(roofObject):
return INTEGER| Name | Type | Description |
|---|---|---|
| roofObject | HANDLE | Handle to roof. |
resultN := CreateSkylight(roofObject);import vs
# Function CreateSkylight creates a new skylight in the referenced roof object.
roofObject = vs.FSActLayer() # handle to the first selected object on the active layer
resultN = vs.CreateSkylight(roofObject)
vs.Message('CreateSkylight returned: ' + str(resultN))Availability: from VectorWorks8.0