cFile NewGridOnly Method CSi API ETABS 2015
Creates a new grid-only model from template.

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

int NewGridOnly(
	int NumberStorys,
	double TypicalStoryHeight,
	double BottomStoryHeight,
	int NumberLinesX,
	int NumberLinesY,
	double SpacingX,
	double SpacingY
)

Parameters

NumberStorys
Type: OnlineSystem Int32
The number of stories in the model
TypicalStoryHeight
Type: OnlineSystem Double
The story height that will be used for all stories in the model, except the bottom story. [L]
BottomStoryHeight
Type: OnlineSystem Double
The story height will be used for the bottom story. [L]
NumberLinesX
Type: OnlineSystem Int32
The number of grid lines in the X direction.
NumberLinesY
Type: OnlineSystem Int32
The number of grid lines in the Y direction.
SpacingX
Type: OnlineSystem Double
The uniform spacing for grid lines in the X direction. [L]
SpacingY
Type: OnlineSystem Double
The uniform spacing for grid lines in the Y direction. [L]

Return Value

Returns zero if the new grid only model is successfully created; otherwise it returns a nonzero value.
Remarks

Do not use this function to add to an existing model. This function should be used only for creating a new model and typically would be preceded by a call to InitializeNewModel(eUnits).
Examples

See Also