cPropMaterialGetOConcrete Method

(NEWER FUNCTION AVAILABLE) Retrieves the other material property data for concrete materials.

Namespace:  ETABS2016
Assembly:  ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
int GetOConcrete(
	string Name,
	ref double Fc,
	ref bool IsLightweight,
	ref double FcsFactor,
	ref int SSType,
	ref int SSHysType,
	ref double StrainAtFc,
	ref double StrainUltimate,
	ref double FrictionAngle,
	ref double DilatationalAngle,
	double Temp = 0
)

Parameters

Name
Type: SystemString
The name of an existing concrete material property.
Fc
Type: SystemDouble
IsLightweight
Type: SystemBoolean
If this item is True, the concrete is assumed to be lightweight concrete.
FcsFactor
Type: SystemDouble
SSType
Type: SystemInt32
This is 0, 1 or 2, indicating the stress-strain hysteresis type.
ValueSSType
0User defined
1Parametric - Simple
2Parametric - Mander
SSHysType
Type: SystemInt32
This is 0 through 7, indicating the stress-strain curve type.
ValueSSHysType
0Elastic
1Kinematic
2Takeda
3Pivot
4Concrete
5BRB Hardening
6Degrading
7Isotropic
StrainAtFc
Type: SystemDouble
StrainUltimate
Type: SystemDouble
This item applies only to parametric stress-strain curves. It is the ultimate unconfined strain capacity. This item must be larger than the StrainAtfc item
FrictionAngle
Type: SystemDouble
The Drucker-Prager friction angle. This item must be smaller or equal to 0 and less than 90. [deg]
DilatationalAngle
Type: SystemDouble
The Drucker-Prager dilatational angle. This item must be smaller or equal to 0 and less than 90. [deg]
Temp (Optional)
Type: SystemDouble
The temperature at which the specified data is to be retrieved. The temperature must have been defined previously for the material.

This item applies only if the specified material has properties that are temperature dependent. That is, it applies only if properties are specified for the material at more than one temperature.

Return Value

Type: Int32
Returns zero if the data is 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 fc As Double
       Dim IsLightweight As Boolean
       Dim fcsfactor As Double
       Dim SSType As Integer
       Dim SSHysType As Integer
       Dim StrainAtfc As Double
       Dim StrainUltimate As Double
       Dim FrictionAngle As Double
       Dim DilatationalAngle 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)

   'initialize new material property
       ret = SapModel.PropMaterial.SetMaterial("Concrete", eMatType.Concrete)

   'assign other properties
       ret = SapModel.PropMaterial.SetOConcrete("Concrete", 5, False, 0, 1, 2, 0.0022, 0.0052)

   'get other properties
       ret = SapModel.PropMaterial.GetOConcrete("Concrete", fc, IsLightweight, fcsfactor, SSType, SSHysType, StrainAtfc, StrainUltimate, FrictionAngle, DilatationalAngle)

   'close ETABS
       EtabsObject.ApplicationExit(False)

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