cPropAreaGetShellDesign Method

Retrieves area property design parameters for a shell-type area section.

Namespace:  ETABS2016
Assembly:  ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
int GetShellDesign(
	string Name,
	ref string MatProp,
	ref int SteelLayoutOption,
	ref double DesignCoverTopDir1,
	ref double DesignCoverTopDir2,
	ref double DesignCoverBotDir1,
	ref 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 retrieved; 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
       Dim MatProp As String
       Dim SteelLayoutOption As integer
       Dim DesignCoverTopDir1 As Double
       Dim DesignCoverTopDir2 As Double
       Dim DesignCoverBotDir1 As Double
       Dim DesignCoverBotDir2 As Double

   '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)

   'get area property design parameters
       ret = SapModel.PropArea.GetShellDesign("SLAB1", MatProp, SteelLayoutOption, DesignCoverTopDir1, DesignCoverTopDir2, DesignCoverBotDir1, DesignCoverBotDir2)

   'close ETABS
       EtabsObject.ApplicationExit(False)

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