cPropMaterialSetOSteel Method |
(NEWER FUNCTION AVAILABLE)
Sets the other material property data for steel materials.
Namespace:
ETABS2016
Assembly:
ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntaxint SetOSteel(
string Name,
double Fy,
double Fu,
double EFy,
double EFu,
int SSType,
int SSHysType,
double StrainAtHardening,
double StrainAtMaxStress,
double StrainAtRupture,
double Temp = 0
)
Function SetOSteel (
Name As String,
Fy As Double,
Fu As Double,
EFy As Double,
EFu As Double,
SSType As Integer,
SSHysType As Integer,
StrainAtHardening As Double,
StrainAtMaxStress As Double,
StrainAtRupture As Double,
Optional Temp As Double = 0
) As Integer
int SetOSteel(
String^ Name,
double Fy,
double Fu,
double EFy,
double EFu,
int SSType,
int SSHysType,
double StrainAtHardening,
double StrainAtMaxStress,
double StrainAtRupture,
double Temp = 0
)
abstract SetOSteel :
Name : string *
Fy : float *
Fu : float *
EFy : float *
EFu : float *
SSType : int *
SSHysType : int *
StrainAtHardening : float *
StrainAtMaxStress : float *
StrainAtRupture : float *
?Temp : float
(* Defaults:
let _Temp = defaultArg Temp 0
*)
-> int
Parameters
- Name
- Type: SystemString
The name of an existing steel 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 or 1, indicating the stress-strain curve type.
Value | SSType |
---|
0 | User defined |
1 | Parametric - Simple |
- 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. It is the strain at the onset of strain hardening. - StrainAtMaxStress
- Type: SystemDouble
This item applies only when parametric stress-strain curves
are used. It is the strain at maximum stress. This item must be larger than the
StrainAtHardening item. - StrainAtRupture
- Type: SystemDouble
This item applies only when parametric stress-strain curves
are used. It is the strain at rupture. This item must be larger than the
StrainAtMaxStress item. - Temp (Optional)
- Type: SystemDouble
The temperature at which the specified data applies.
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 assigned; otherwise it returns a nonzero value.
Remarks
ExamplesPublic Sub Example()
Dim SapModel As cSapModel
Dim EtabsObject As cOAPI
Dim ret As Integer = -1
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("Steel", eMatType.Steel)
ret = SapModel.PropMaterial.SetOSteel("Steel", 55, 68, 60, 70, 1, 2, 0.02, 0.1, 0.2)
EtabsObject.ApplicationExit(False)
SapModel = Nothing
EtabsObject = Nothing
End Sub
See Also