cPropMaterialGetORebar Method |
(NEWER FUNCTION AVAILABLE)
Retrieves the other material property data for rebar materials.
Namespace:
ETABS2016
Assembly:
ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntaxint GetORebar(
string Name,
ref double Fy,
ref double Fu,
ref double EFy,
ref double EFu,
ref int SSType,
ref int SSHysType,
ref double StrainAtHardening,
ref double StrainUltimate,
ref bool UseCaltransSSDefaults,
double Temp = 0
)
Function GetORebar (
Name As String,
ByRef Fy As Double,
ByRef Fu As Double,
ByRef EFy As Double,
ByRef EFu As Double,
ByRef SSType As Integer,
ByRef SSHysType As Integer,
ByRef StrainAtHardening As Double,
ByRef StrainUltimate As Double,
ByRef UseCaltransSSDefaults As Boolean,
Optional Temp As Double = 0
) As Integer
int GetORebar(
String^ Name,
double% Fy,
double% Fu,
double% EFy,
double% EFu,
int% SSType,
int% SSHysType,
double% StrainAtHardening,
double% StrainUltimate,
bool% UseCaltransSSDefaults,
double Temp = 0
)
abstract GetORebar :
Name : string *
Fy : float byref *
Fu : float byref *
EFy : float byref *
EFu : float byref *
SSType : int byref *
SSHysType : int byref *
StrainAtHardening : float byref *
StrainUltimate : float byref *
UseCaltransSSDefaults : bool byref *
?Temp : float
(* Defaults:
let _Temp = defaultArg Temp 0
*)
-> int
Parameters
- Name
- Type: SystemString
The name of an existing rebar material property. - Fy
- Type: SystemDouble
- Fu
- Type: SystemDouble
The minimum tensile stress. [F/L2] - EFy
- Type: SystemDouble
- EFu
- Type: SystemDouble
- SSType
- Type: SystemInt32
This is 0, 1 or 2, indicating the stress-strain curve type.
Value | SSType |
---|
0 | User defined |
1 | Parametric - Simple |
2 | Parametric - Park |
- SSHysType
- Type: SystemInt32
This is 0 through 7, indicating the stress-strain curve type.
Value | SSHysType |
---|
0 | Elastic |
1 | Kinematic |
2 | Takeda |
3 | Pivot |
4 | Concrete |
5 | BRB Hardening |
6 | Degrading |
7 | Isotropic |
- StrainAtHardening
- Type: SystemDouble
This item applies only when parametric stress-strain curves
are used and when UseCaltransSSDefaults is False.
It is the strain at the onset of strain hardening. - StrainUltimate
- Type: SystemDouble
This item applies only when parametric stress-strain curves
are used and when UseCaltransSSDefaults is False.
It is the ultimate strain capacity. This item must be larger than the
StrainAtHardening item. - UseCaltransSSDefaults
- Type: SystemBoolean
If this item is True, the program uses Caltrans default
controlling strain values, which are bar size dependent. - 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:
Int32Returns zero if the data is successfully retrieved; otherwise it returns a nonzero value.
Remarks
ExamplesPublic Sub Example()
Dim SapModel As cSapModel
Dim EtabsObject As cOAPI
Dim ret As Integer = -1
Dim Fy As Double
Dim Fu As Double
Dim eFy As Double
Dim eFu As Double
Dim SSType As Integer
Dim SSHysType As Integer
Dim StrainAtHardening As Double
Dim StrainUltimate As Double
Dim UseCaltransSSDefaults As Boolean
EtabsObject = CreateObject("CSI.ETABS.API.ETABSObject")
ret = EtabsObject.ApplicationStart()
SapModel = EtabsObject.SapModel
ret = SapModel.InitializeNewModel()
ret = SapModel.File.NewSteelDeck(4,12,12,4,4,24,24)
ret = SapModel.PropMaterial.SetMaterial("Rebar", eMatType.Rebar)
ret = SapModel.PropMaterial.SetORebar("Rebar", 62, 93, 70, 102, 2, 2, 0.02, 0.1, False)
ret = SapModel.PropMaterial.GetORebar("Rebar", Fy, Fu, eFy, eFu, SSType, SSHysType, StrainAtHardening, StrainUltimate, UseCaltransSSDefaults)
EtabsObject.ApplicationExit(False)
SapModel = Nothing
EtabsObject = Nothing
End Sub
See Also