cPropFrame SetGeneral Method CSi API ETABS 2015
Initializes a general frame section property. If this function is called for an existing frame section property, all items for the section are reset to their default value.

Namespace: ETABS2015
Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
Syntax

int SetGeneral(
	string Name,
	string MatProp,
	double T3,
	double T2,
	double Area,
	double As2,
	double As3,
	double Torsion,
	double I22,
	double I33,
	double S22,
	double S33,
	double Z22,
	double Z33,
	double R22,
	double R33,
	int Color = -1,
	string Notes = "",
	string GUID = ""
)

Parameters

Name
Type: OnlineSystem String
The name of an existing or new frame section property. If this is an existing property, that property is modified; otherwise, a new property is added.
MatProp
Type: OnlineSystem String
The name of the material property for the section.
T3
Type: OnlineSystem Double
T2
Type: OnlineSystem Double
Area
Type: OnlineSystem Double
The cross-sectional area. [L2]
As2
Type: OnlineSystem Double
The shear area for forces in the section local 2-axis direction. [L2]
As3
Type: OnlineSystem Double
The shear area for forces in the section local 3-axis direction. [L2]
Torsion
Type: OnlineSystem Double
The torsional constant. [L4]
I22
Type: OnlineSystem Double
The moment of inertia for bending about the local 2 axis. [L4]
I33
Type: OnlineSystem Double
The moment of inertia for bending about the local 3 axis. [L4]
S22
Type: OnlineSystem Double
The section modulus for bending about the local 2 axis. [L3]
S33
Type: OnlineSystem Double
The section modulus for bending about the local 3 axis. [L3]
Z22
Type: OnlineSystem Double
The plastic modulus for bending about the local 2 axis. [L3]
Z33
Type: OnlineSystem Double
The plastic modulus for bending about the local 3 axis. [L3]
R22
Type: OnlineSystem Double
The radius of gyration about the local 2 axis. [L]
R33
Type: OnlineSystem Double
The radius of gyration about the local 3 axis. [L]
Color (Optional)
Type: OnlineSystem Int32
Notes (Optional)
Type: OnlineSystem String
GUID (Optional)
Type: OnlineSystem String
The GUID (global unique identifier), if any, assigned to the section. If this item is input as Default, the program assigns a GUID to the section.

Return Value

Returns zero if the section property is successfully initialized; otherwise it returns a nonzero value.
Remarks

Examples

See Also