Add Design Default Combos
Add Design Default Combos
AddDesignDefaultCombos
Syntax
SapObject.SapModel.RespCombo.AddDesignDefaultCombos
VB6 Procedure
Function AddDesignDefaultCombos(ByVal DesignSteel As Boolean, ByVal
DesignConcrete As Boolean, ByVal DesignAluminum As Boolean, ByVal
DesignColdFormed As Boolean) As Long
Parameters
DesignSteel
If this item is True, default steel design combinations are to be added to the model.
DesignConcrete
If this item is True, default concrete design combinations are to be added to the model.
DesignAluminum
If this item is True, default aluminum design combinations are to be added to the model.
DesignColdFormed
If this item is True, default cold formed design combinations are to be added to the
model.
Remarks
This function adds a new default design load combinations to the model.
The function returns zero if the load combinations are successfully added, otherwise it
returns a nonzero value.
VBA Example
Sub AddNewDefaultSteelDesignCombos()
'dimension variables
Dim SapObject as cOAPI
Dim SapModel As cSapModel
Dim ret As Long
'initialize model
ret = SapModel.InitializeNewModel
'add combo
ret = SapModel.RespCombo.AddDesignDefaultCombos(True, False, False,
False)
'close Sap2000
SapObject.ApplicationExit False
Set SapModel = Nothing
Set SapObject = Nothing
mk:@MSITStore:D:\COMPARTIDA\OAPI%20SAP2000%20Y%20ETABS\CSI_OAPI_... 4/11/2024
AddDesignDefaultCombos Page 2 of 2
End Sub
Release Notes
Initial release in version 11.00.
Changed nomenclature from Load Cases, Analysis Cases and Response Combinations
to Load Patterns, Load Cases and Load Combinations, respectively, in version 12.00.
See Also
Add
mk:@MSITStore:D:\COMPARTIDA\OAPI%20SAP2000%20Y%20ETABS\CSI_OAPI_... 4/11/2024