cStory GetStories Method CSi API ETABS 2015
Retrieves the story information for the current tower

Namespace: ETABS2015
Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
Syntax

int GetStories(
	ref int NumberStories,
	ref string[] StoryNames,
	ref double[] StoryElevations,
	ref double[] StoryHeights,
	ref bool[] IsMasterStory,
	ref string[] SimilarToStory,
	ref bool[] SpliceAbove,
	ref double[] SpliceHeight
)

Parameters

NumberStories
Type: OnlineSystem Int32 
The number of stories. All output arrays have length (NumberStories + 1), because they include values for "Base" , which is not a story.
StoryNames
Type:  OnlineSystem String  
The names of the stories. This array will include "Base" .
StoryElevations
Type:  OnlineSystem Double  
The story elevations. The first value is the "Base" elevation.
StoryHeights
Type:  OnlineSystem Double  
The story heights. The first value is the "Base" height.
IsMasterStory
Type:  OnlineSystem Boolean  
Whether the story is a master story
SimilarToStory
Type:  OnlineSystem String  
If the story is not a master story, which master story the story is similar to
SpliceAbove
Type:  OnlineSystem Boolean  
This is True if the story has a splice height, and False otherwise
SpliceHeight
Type:  OnlineSystem Double  
The story splice height

Return Value

Returns zero if the story data is successfully retrieved, otherwise returns nonzero.
Remarks

To change the current tower, use SetActiveTower(String)
Examples

See Also