Creates a layer of the specified type.
layerType values: Design = 1 Presentation = 2
FUNCTION CreateLayer(
layerName : STRING;
layerType : INTEGER): HANDLE;def vs.CreateLayer(layerName, layerType):
return HANDLE| Name | Type | Description |
|---|---|---|
| layerName | STRING | |
| layerType | INTEGER |
_c_, 2015.07.12: The layer type constants can be fetched using GetObjectVariableInt(layerHandle, 154).
Availability: from VectorWorks 10.5