Skip to content

Latest commit

 

History

History
43 lines (32 loc) · 942 Bytes

File metadata and controls

43 lines (32 loc) · 942 Bytes

SetDefStoryLayerName

Description

Sets the name of the nth Default Story Layer in the file. For example, if 3 is passed in, it will set the name of the 3rd Default Story Layer in the file.

FUNCTION SetDefStoryLayerName(
				index : INTEGER;
				name  : STRING): BOOLEAN;
def vs.SetDefStoryLayerName(index, name):
    return BOOLEAN

Parameters

Name Type Description
index INTEGER The index of the default story layer whose name should be set.
name STRING The name that the indicated default story layer should be set to.

Examples

VAR

result : BOOLEAN;

BEGIN

result := SetStoryLayerTemplateName(2, "Subfloor");

See Also

VS Functions: GetNumStoryLayerTemplates | GetStoryLayerTemplateName

Version

Availability: from Vectorworks 2013

Category