Skip to content

Latest commit

 

History

History
37 lines (29 loc) · 729 Bytes

File metadata and controls

37 lines (29 loc) · 729 Bytes

GetNumStories

Description

Returns the number of stories in the file. Stories are used to group layers and are shown on the Story pane of the Organization dialog.

FUNCTION GetNumStories : INTEGER;
def vs.GetNumStories():
    return INTEGER

Examples

resultN := GetNumStories;
import vs

# Returns the number of stories in the file.
count = vs.GetNumStories()
vs.Message('GetNumStories returned: ' + str(count))

See Also

VS Functions: CreateStory | GetStoryOfLayer | AssociateLayerWithStory

Version

Availability: from Vectorworks 2012

Category