Returns the name of the nth Story Level Template in the file. For example, if 3 is passed in, it will return the name of the 3rd Story Level Template in the file.
FUNCTION GetLevelTemplateName(index : INTEGER): STRING;def vs.GetLevelTemplateName(index):
return STRING| Name | Type | Description |
|---|---|---|
| index | INTEGER | The index of the Story Level Template whose name is to be returned. |
VAR
templateName:STRING;
BEGIN
templateName:=GetLevelTemplateName(2);resultStr := GetLevelTemplateName(1);import vs
# Returns the name of the nth Story Level Template in the file.
index = 1
name = vs.GetLevelTemplateName(index)
vs.Message('GetLevelTemplateName returned: ' + str(name))VS Functions: GetNumLevelTemplates | SetLevelTemplateName | CreateLevelTemplate | DeleteLevelTemplate | GetLevelTemplateInfo
Availability: from Vectorworks 2015