Retrieves the model solver options.
Namespace: ETABS2015Assembly: ETABS2015 (in ETABS2015.dll) Version: 15.0.0.0 (15.0.0.0)
int GetSolverOption_1(
ref int SolverType,
ref int SolverProcessType,
ref bool Force32BitSolver,
ref string StiffCase
)
int GetSolverOption_1(
ref int SolverType,
ref int SolverProcessType,
ref bool Force32BitSolver,
ref string StiffCase
)
Function GetSolverOption_1 ( _
ByRef SolverType As Integer, _
ByRef SolverProcessType As Integer, _
ByRef Force32BitSolver As Boolean, _
ByRef StiffCase As String _
) As Integer
Function GetSolverOption_1 ( _
ByRef SolverType As Integer, _
ByRef SolverProcessType As Integer, _
ByRef Force32BitSolver As Boolean, _
ByRef StiffCase As String _
) As Integer
int GetSolverOption_1(
int% SolverType,
int% SolverProcessType,
bool% Force32BitSolver,
String^% StiffCase
)
int GetSolverOption_1(
int% SolverType,
int% SolverProcessType,
bool% Force32BitSolver,
String^% StiffCase
)
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
- 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 retrieved;
otherwise it returns a nonzero value.
Public Sub Example()
Dim SapModel As cSapModel
Dim EtabsObject As cOAPI
Dim ret As Integer = -1
Dim SolverType As Integer
Dim SolverProcessType As Integer
Dim Force32BitSolver As Boolean
Dim StiffCase As String
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.GetSolverOption_1(SolverType, SolverProcessType, Force32BitSolver, StiffCase)
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
Dim SolverType As Integer
Dim SolverProcessType As Integer
Dim Force32BitSolver As Boolean
Dim StiffCase 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)
'get model solver options
ret = SapModel.Analyze.GetSolverOption_1(SolverType, SolverProcessType, Force32BitSolver, StiffCase)
'close ETABS
EtabsObject.ApplicationExit(False)
'clean up variables
SapModel = Nothing
EtabsObject = Nothing
End Sub