cPropFrameGetConcreteTee Method

Retrieves frame section property data for a concrete tee frame section.

Namespace:  ETABS2016
Assembly:  ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntax
int GetConcreteTee(
	string Name,
	ref string FileName,
	ref string MatProp,
	ref double T3,
	ref double T2,
	ref double Tf,
	ref double TwF,
	ref double TwT,
	ref bool MirrorAbout3,
	ref int Color,
	ref string Notes,
	ref string GUID
)

Parameters

Name
Type: SystemString
The name of an existing frame section property.
FileName
Type: SystemString
If the section property was imported from a property file, this is the name of that file. If the section property was not imported, this item is blank.
MatProp
Type: SystemString
The name of the material property for the section.
T3
Type: SystemDouble
T2
Type: SystemDouble
Tf
Type: SystemDouble
TwF
Type: SystemDouble
The web thickness at the flange. [L]
TwT
Type: SystemDouble
The web thickness at the tip. [L]
MirrorAbout3
Type: SystemBoolean
Indicates whether the section is mirrored about the local 3-axis.
Color
Type: SystemInt32
Notes
Type: SystemString
GUID
Type: SystemString
The GUID (global unique identifier), if any, assigned to the section.

Return Value

Type: Int32
Returns zero if the section property is successfully retrieved; otherwise it returns a nonzero value.
Remarks
This function supersedes GetTee(String, String, String, Double, Double, Double, Double, Int32, String, String).
Examples
VB
Public Sub Example()
       Dim SapModel As cSapModel
       Dim EtabsObject As cOAPI
       Dim ret As Integer = -1
       Dim FileName As String
       Dim MatProp As String
       Dim t3 As Double
       Dim t2 As Double
       Dim tf As Double
       Dim twf As Double
       Dim twt as Double
       Dim mirror3
       Dim Color As Integer
       Dim Notes As String
       Dim GUID As String

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

   'set new frame section property
       ret = SapModel.PropFrame.SetConcreteTee("TEE1", "4000Psi", 30, 36, 8, 7, 5, False)

   'get frame section property data
       ret = SapModel.PropFrame.GetConcreteTee("TEE1", FileName, MatProp, t3, t2, tf, twf, twt, mirror3, Color, Notes, GUID)

   'close ETABS
       EtabsObject.ApplicationExit(False)

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