cPropArea SetSlab Method CSi API ETABS 2015
Initializes a slab property.

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

int SetSlab(
	string Name,
	eSlabType SlabType,
	eShellType ShellType,
	string MatProp,
	double Thickness,
	int color = -1,
	string notes = "",
	string GUID = ""
)

Parameters

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

If this item is Ribbed, use the GetSlabRibbed(String, Double , Double , Double , Double , Double , Int32 ) function to get additional parameters.

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

ShellType
Type: ETABS2015 eShellType
This is one of the items in the eShellType enumeration.
MatProp
Type: OnlineSystem String
The name of the material property for the area property.

This item does not apply when ShellType is Layered.

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

This item does not apply when ShellType is Layered.

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