Returns the number of story level templates in the file. Story Levels contain a level type, elevation, and optional layer to be used to bound objects on stories; Story Level Templates define a generic level that can be added to multiple stories.
FUNCTION GetNumLevelTemplates : INTEGER;def vs.GetNumLevelTemplates():
return INTEGERresultN := GetNumLevelTemplates;import vs
# Returns the number of story level templates in the file.
count = vs.GetNumLevelTemplates()
vs.Message('GetNumLevelTemplates returned: ' + str(count))VS Functions: GetLevelTemplateName | SetLevelTemplateName | CreateLevelTemplate | DeleteLevelTemplate | GetLevelTemplateInfo
Availability: from Vectorworks 2015