Sets the model solver options.
Namespace: ETABS2015Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
int SetSolverOption_1(
int SolverType,
int SolverProcessType,
bool Force32BitSolver,
string StiffCase = ""
)
int SetSolverOption_1(
int SolverType,
int SolverProcessType,
bool Force32BitSolver,
string StiffCase = ""
)
Function SetSolverOption_1 ( _
SolverType As Integer, _
SolverProcessType As Integer, _
Force32BitSolver As Boolean, _
Optional StiffCase As String = "" _
) As Integer
int SetSolverOption_1(
int SolverType,
int SolverProcessType,
bool Force32BitSolver,
String^ StiffCase = L""
)
int SetSolverOption_1(
int SolverType,
int SolverProcessType,
bool Force32BitSolver,
String^ StiffCase = L""
)
Parameters
- SolverType
- Type:
System Int32
This is 0, 1 or 2, indicating the solver type.
- 0 = Standard solver
- 1 = Advanced solver
- 2 = Multi-threaded solver
- SolverProcessType
- Type:
System Int32
This is 0, 1 or 2, indicating the process the analysis is run.
- 0 = Auto (program determined)
- 1 = GUI process
- 2 = Separate process
- Force32BitSolver
- Type:
System Boolean
This is True if the analysis is always run using 32-bit,
even on 64-bit computers.
- StiffCase (Optional)
- Type:
System String
The name of the load case used when outputting the mass
and stiffness matrices to text files.
If this item is blank, no matrices are output.
Return Value
Returns zero if the options are successfully set;
otherwise it returns a nonzero value.
'''
Public 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.Analyze.SetSolverOption_1(1, 1, True, "DEAD")
EtabsObject.ApplicationExit(False)
SapModel = Nothing
EtabsObject = Nothing
End Sub
Public Sub Example()
Dim SapModel As cSapModel
Dim EtabsObject As cOAPI
Dim ret As Integer = -1
'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 model solver options
ret = SapModel.Analyze.SetSolverOption_1(1, 1, True, "DEAD")
'close ETABS
EtabsObject.ApplicationExit(False)
'clean up variables
SapModel = Nothing
EtabsObject = Nothing
End Sub