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 INTEGERresultN := GetNumStories;import vs
# Returns the number of stories in the file.
count = vs.GetNumStories()
vs.Message('GetNumStories returned: ' + str(count))VS Functions: CreateStory | GetStoryOfLayer | AssociateLayerWithStory
Availability: from Vectorworks 2012