0% found this document useful (0 votes)
7 views2 pages

Add Design Default Combos

Uploaded by

ALEX MOLINA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
0% found this document useful (0 votes)
7 views2 pages

Add Design Default Combos

Uploaded by

ALEX MOLINA
Copyright
© © All Rights Reserved
We take content rights seriously. If you suspect this is your content, claim it here.
Available Formats
Download as PDF, TXT or read online on Scribd
You are on page 1/ 2

AddDesignDefaultCombos Page 1 of 2

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

'create Sap2000 object


Set SapObject = CreateObject("CSI.SAP2000.API.SapObject")

'start Sap2000 application


SapObject.ApplicationStart

'create SapModel object


Set SapModel = SapObject.SapModel

'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

You might also like