VS:GetNumStoryLayerTemplates

From Vectorworks Developer
Jump to navigation Jump to search

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

Description

Returns the number of story layer templates in the file. Story Layer Templates are used to define what Layers are typically found in a Story. When a Story is created, the user has the option to automatically create the Layers defined by the Story Layer Templates.

FUNCTION GetNumStoryLayerTemplates : INTEGER;
def vs.GetNumStoryLayerTemplates():
    return INTEGER

Return Value

The number of Story Layer Templates in the file.

Version

Availability: from Vectorworks 2012

See Also

VS Functions:

VS:CreateStoryLayerTemplate

VS Functions: [[VS:CreateStoryLayerTemplate]]