cPropAreaSetShellDesign Method

Assigns the design parameters for shell-type area properties.

Namespace:  ETABS2016
Assembly:  ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
int SetShellDesign(
	string Name,
	string MatProp,
	int SteelLayoutOption,
	double DesignCoverTopDir1,
	double DesignCoverTopDir2,
	double DesignCoverBotDir1,
	double DesignCoverBotDir2
)

Parameters

Name
Type: SystemString
The name of an existing shell-type area property.
MatProp
Type: SystemString
The name of the material property for the area property.
SteelLayoutOption
Type: SystemInt32
This is 0, 1 or 2 indicating, the rebar layout option.
ValueLayout
0Default
1One layer
2Two layers
DesignCoverTopDir1
Type: SystemDouble
The cover to the centroid of the top reinforcing steel running in the local 1 axis direction of the area object. [L]

This item applies only when SteelLayoutOption = 1 or 2.

DesignCoverTopDir2
Type: SystemDouble
The cover to the centroid of the top reinforcing steel running in the local 2 axis direction of the area object. [L]

This item applies only when SteelLayoutOption = 1 or 2.

DesignCoverBotDir1
Type: SystemDouble
The cover to the centroid of the bottom reinforcing steel running in the local 1 axis direction of the area object. [L]

This item applies only when SteelLayoutOption = 2.

DesignCoverBotDir2
Type: SystemDouble
The cover to the centroid of the bottom reinforcing steel running in the local 2 axis direction of the area object. [L]

This item applies only when SteelLayoutOption = 2.

Return Value

Type: Int32
Returns zero if the parameters are successfully assigned; otherwise it returns a nonzero value.
Remarks
Examples
VB
Public Sub Example()
       Dim SapModel As cSapModel
       Dim EtabsObject As cOAPI
       Dim ret As Integer = -1

   'create ETABS object
       EtabsObject = CreateObject("CSI.ETABS.API.ETABSObject")

   'start ETABS application
       ret = EtabsObject.ApplicationStart()

   'create SapModel object
       SapModel = EtabsObject.SapModel

   'initialize model
       ret = SapModel.InitializeNewModel()

   'create steel deck template model
       ret = SapModel.File.NewSteelDeck(4,12,12,4,4,24,24)

   'set area property design parameters
       ret = SapModel.PropArea.SetShellDesign("SLAB1", "A615Gr60", 2, 2, 3, 2.5, 3.5)

   'close ETABS
       EtabsObject.ApplicationExit(False)

   'clean up variables
       SapModel = Nothing
       EtabsObject = Nothing
   End Sub
See Also