SimSolveManager Class¶
-
class
NXOpen.CAE.
SimSolveManager
¶ Bases:
object
Represents a
NXOpen.CAE.SimSolveManager
manager which is used to manage the solve process of solutions.To obtain an instance of this class, refer to
NXOpen.Session
New in version NX11.0.0.
Methods¶
Method | Description |
---|---|
GetChainOfPrerequisites | Return the chain of prerequisites for the given solution. |
SolveAllMetaSolutions | Solve all meta solutions in the sim document. |
SolveAllSolutions | Solve all solutions in the sim document. |
SolveChainOfSolutions | Solve the chain of solutions given in input. |
Method Detail¶
GetChainOfPrerequisites¶
-
SimSolveManager.
GetChainOfPrerequisites
¶ Return the chain of prerequisites for the given solution.
Signature
GetChainOfPrerequisites(pSol)
Parameters: pSol ( NXOpen.CAE.SimSolution
) – the solution for which we want the chain of prerequisitesReturns: a tuple Return type: A tuple consisting of (pSolutions, hasResult). pSolutions is a list of NXOpen.CAE.SimSolution
. the prerequisites of the input solution hasResult is a list of bool. returns if the nth prerequisite has a resultNew in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
SolveAllMetaSolutions¶
-
SimSolveManager.
SolveAllMetaSolutions
¶ Solve all meta solutions in the sim document.
Signature
SolveAllMetaSolutions(solveOption, setupCheckOption, runModeOption, skipSolutionWithResults)
Parameters: - solveOption (
NXOpen.CAE.SimSolutionSolveOption
) – solve option - setupCheckOption (
NXOpen.CAE.SimSolutionSetupCheckOption
) – setup check option - runModeOption (
NXOpen.CAE.SimSolutionSolveMode
) – run mode option - skipSolutionWithResults (bool) – skip the solution if it has a result
Returns: a tuple
Return type: A tuple consisting of (numSolutionsSolved, numSolutionsFailed, numSolutionsSkipped) numSolutionsSolved is a int. the number of solutions solved numSolutionsFailed is a int. the number of solutions which failed numSolutionsSkipped is a int. the number of solutions which have been skipped
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
- solveOption (
SolveAllSolutions¶
-
SimSolveManager.
SolveAllSolutions
¶ Solve all solutions in the sim document.
Signature
SolveAllSolutions(solveOption, setupCheckOption, runModeOption, skipSolutionWithResults)
Parameters: - solveOption (
NXOpen.CAE.SimSolutionSolveOption
) – solve option - setupCheckOption (
NXOpen.CAE.SimSolutionSetupCheckOption
) – setup check option - runModeOption (
NXOpen.CAE.SimSolutionSolveMode
) – run mode option - skipSolutionWithResults (bool) – skip the solution if it has a result
Returns: a tuple
Return type: A tuple consisting of (numSolutionsSolved, numSolutionsFailed, numSolutionsSkipped) numSolutionsSolved is a int. the number of solutions solvednumSolutionsFailed is a int. the number of solutions which failed numSolutionsSkipped is a int. the number of solutions which have been skipped
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
- solveOption (
SolveChainOfSolutions¶
-
SimSolveManager.
SolveChainOfSolutions
¶ Solve the chain of solutions given in input.
Signature
SolveChainOfSolutions(pSolutions, solveOption, setupCheckOption, runModeOption)
Parameters: - pSolutions (list of
NXOpen.CAE.SimSolution
) – The solutions to be solved - solveOption (
NXOpen.CAE.SimSolutionSolveOption
) – solve option - setupCheckOption (
NXOpen.CAE.SimSolutionSetupCheckOption
) – setup check option - runModeOption (
NXOpen.CAE.SimSolutionSolveMode
) – run mode option
Returns: a tuple
Return type: A tuple consisting of (numSolutionsSolved, numSolutionsFailed, numSolutionsSkipped) numSolutionsSolved is a int. the number of solutions solvednumSolutionsFailed is a int. the number of solutions which failednumSolutionsSkipped is a int. the number of solutions which have been skipped
New in version NX11.0.0.
License requirements: nx_masterfem (“Finite Element Modeling”) OR nx_design_sim (“NX Design Simulation”)
- pSolutions (list of