Skip to content

Latest commit

 

History

History
39 lines (31 loc) · 1015 Bytes

File metadata and controls

39 lines (31 loc) · 1015 Bytes

GetNumLevelTemplates

Description

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 INTEGER

Examples

resultN := GetNumLevelTemplates;
import vs

# Returns the number of story level templates in the file.
count = vs.GetNumLevelTemplates()
vs.Message('GetNumLevelTemplates returned: ' + str(count))

See Also

VS Functions: GetLevelTemplateName | SetLevelTemplateName | CreateLevelTemplate | DeleteLevelTemplate | GetLevelTemplateInfo

Version

Availability: from Vectorworks 2015

Category