VS:CreateLayer

From Vectorworks Developer
Revision as of 14:25, 12 August 2013 by Root (talk | contribs) (1 revision)
Jump to navigation Jump to search
The printable version is no longer supported and may have rendering errors. Please update your browser bookmarks and please use the default browser print function instead.

.VectorScript|VectorScript ..VS:Function Reference|Function Reference ..VS:Function_Reference_Appendix|Appendix

Description

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

Parameters

layerName STRING
layerType INTEGER

Version

Availability: from VectorWorks10.5