Adds or modifies one load case or response combination in the list of cases
included in the load combination specified by the Name item.
Namespace:
ETABS2016
Assembly:
ETABS2016 (in ETABS2016.dll) Version: 16.0.0.0 (16.0.0.0)
Syntaxint SetCaseList(
string Name,
ref eCNameType CNameType,
string CName,
double SF
)
Function SetCaseList (
Name As String,
ByRef CNameType As eCNameType,
CName As String,
SF As Double
) As Integer
int SetCaseList(
String^ Name,
eCNameType% CNameType,
String^ CName,
double SF
)
abstract SetCaseList :
Name : string *
CNameType : eCNameType byref *
CName : string *
SF : float -> int
Parameters
- Name
- Type: SystemString
The name of an existing load combination.
- CNameType
- Type: ETABS2016eCNameType
This is one of the following items in the eCNameType enumeration:
- LoadCase = 0
- LoadCombo = 1
This item indicates whether the CName item is an
analysis case (LoadCase) or a load combination (LoadCombo).
- CName
- Type: SystemString
The name of the load case or load combination to be added to or modified
in the combination specified by the Name item.
If the load case or combination already exists in the combination specified
by the Name item, the scale factor is modified as indicated
by the sf item for that load case or combination.
If the analysis case or combination does not exist in the combination
specified by the Name item, it is added.
- SF
- Type: SystemDouble
Return Value
Type:
Int32
Returns zero if the item is successfully added or modified,
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.RespCombo.Add("COMB1", 0)
ret = SapModel.RespCombo.SetCaseList("COMB1", LoadCase, "DEAD", 1.4)
EtabsObject.ApplicationExit(False)
SapModel = Nothing
EtabsObject = Nothing
End Sub
See Also