cPropArea SetDeck Method CSi API ETABS 2015
Initializes a deck property.

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

int SetDeck(
	string Name,
	eDeckType DeckType,
	eShellType ShellType,
	string MatProp,
	double Thickness,
	int color = -1,
	string notes = "",
	string GUID = ""
)

Parameters

Name
Type: OnlineSystem String
The name of a deck property. If this is an existing property, that property is modified; otherwise, a new property is added.
DeckType
Type: ETABS2015 eDeckType
This is one of the following items in the eDeckType enumeration.

If this item is Filled, use the SetDeckFilled(String, Double, Double, Double, Double, Double, Double, Double, Double, Double, Double) function to get additional parameters.

If this item is Unfilled, use the SetDeckUnfilled(String, Double, Double, Double, Double, Double, Double) function to get additional parameters.

If this item is SolidSlab, use the SetDeckSolidSlab(String, Double, Double, Double, Double) function to get additional parameters.

ShellType
Type: ETABS2015 eShellType
This is one of the items in the eShellType enumeration.

Please note that for deck properties, this is always Membrane

MatProp
Type: OnlineSystem String
The name of the material property for the area property.

This item does not apply when ShellType = 6.

Thickness
Type: OnlineSystem Double
The membrane thickness. [L]

This item does not apply when ShellType = 6.

color (Optional)
Type: OnlineSystem Int32
The display color assigned to the property.
notes (Optional)
Type: OnlineSystem String
The notes, if any, assigned to the property.
GUID (Optional)
Type: OnlineSystem String
The GUID (global unique identifier), if any, assigned to the property.

Return Value

Returns zero if the property is successfully initialized; otherwise it returns a nonzero value.
Remarks

Examples

See Also