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 INTEGERresultN := GetNumStoryLayerTemplates;import vs
# Returns the number of story layer templates in the file.
count = vs.GetNumStoryLayerTemplates()
vs.Message('GetNumStoryLayerTemplates returned: ' + str(count))VS Functions: CreateStoryLayerTemplate
Availability: from Vectorworks 2012