cSapModel InitializeNewModel Method CSi API ETABS 2015
This function clears the previous model and initializes the program for a new model. If it is later needed, you should save your previous model prior to calling this function.

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

int InitializeNewModel(
	eUnits Units = eUnits.kip_in_F
)

Parameters

Units (Optional)
Type: ETABS2015 eUnits
This is the display (present) units for the new model. Possible items in the eUnits enumeration.

All numerical items are shown in the GUI in display units. All API calls use display units.

All data stored internally in the model is in database units. If the length unit in the display units is inch or feet, the database units will be set to lb_in_F. Otherwise, the database units are set to N_mm_C.

Return Value

The function returns zero if a new model is successfully initialized, otherwise it returns a nonzero value.
Remarks

After calling the InitializeNewModel function, it is not necessary to also call the ApplicationStart function because the functionality of the ApplicationStart function is included in the InitializeNewModel function.
Examples

See Also