Skip to content

Latest commit

 

History

History
40 lines (30 loc) · 855 Bytes

File metadata and controls

40 lines (30 loc) · 855 Bytes

CreateSkylight

Description

Function CreateSkylight creates a new skylight in the referenced roof object.

FUNCTION CreateSkylight(roofObject : HANDLE): INTEGER;
def vs.CreateSkylight(roofObject):
    return INTEGER

Parameters

Name Type Description
roofObject HANDLE Handle to roof.

Examples

CreateRoofObj

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

Version

Availability: from VectorWorks8.0

Category