NX Open C++ Reference Guide
Public Member Functions | Static Public Member Functions | List of all members
NXOpen::CAE::SimSolveManager Class Reference

Represents a NXOpen::CAE::SimSolveManager manager which is used to manage the solve process of solutions. More...

Public Member Functions

void GetChainOfPrerequisites (NXOpen::CAE::SimSolution *pSol, std::vector< NXOpen::CAE::SimSolution * > &pSolutions, std::vector< bool > &hasResult)
 Return the chain of prerequisites for the given solution. More...
 
void SolveAllMetaSolutions (NXOpen::CAE::SimSolution::SolveOption solveOption, NXOpen::CAE::SimSolution::SetupCheckOption setupCheckOption, NXOpen::CAE::SimSolution::SolveMode runModeOption, bool skipSolutionWithResults, int *numSolutionsSolved, int *numSolutionsFailed, int *numSolutionsSkipped)
 Solve all meta solutions in the sim document. More...
 
void SolveAllSolutions (NXOpen::CAE::SimSolution::SolveOption solveOption, NXOpen::CAE::SimSolution::SetupCheckOption setupCheckOption, NXOpen::CAE::SimSolution::SolveMode runModeOption, bool skipSolutionWithResults, int *numSolutionsSolved, int *numSolutionsFailed, int *numSolutionsSkipped)
 Solve all solutions in the sim document. More...
 
void SolveChainOfSolutions (const std::vector< NXOpen::CAE::SimSolution * > &pSolutions, NXOpen::CAE::SimSolution::SolveOption solveOption, NXOpen::CAE::SimSolution::SetupCheckOption setupCheckOption, NXOpen::CAE::SimSolution::SolveMode runModeOption, int *numSolutionsSolved, int *numSolutionsFailed, int *numSolutionsSkipped)
 Solve the chain of solutions given in input. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Static Public Member Functions

static SimSolveManagerGetSimSolveManager (NXOpen::Session *owner)
 Returns the SimSolveManager object for the running session which serves as the 'gateway' class for the application API. More...
 

Detailed Description

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

Created in NX11.0.0.

Member Function Documentation

void NXOpen::CAE::SimSolveManager::GetChainOfPrerequisites ( NXOpen::CAE::SimSolution pSol,
std::vector< NXOpen::CAE::SimSolution * > &  pSolutions,
std::vector< bool > &  hasResult 
)

Return the chain of prerequisites for the given solution.


Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
pSolthe solution for which we want the chain of prerequisites
pSolutionsthe prerequisites of the input solution
hasResultreturns if the nth prerequisite has a result
static SimSolveManager* NXOpen::CAE::SimSolveManager::GetSimSolveManager ( NXOpen::Session owner)
static

Returns the SimSolveManager object for the running session which serves as the 'gateway' class for the application API.

References to all other objects in this API are obtained either directly or indirectly via methods and properties on this class. Platform Session should be initialized using 'GetSession' method from NXOpen API prior to this call.

void NXOpen::CAE::SimSolveManager::SolveAllMetaSolutions ( NXOpen::CAE::SimSolution::SolveOption  solveOption,
NXOpen::CAE::SimSolution::SetupCheckOption  setupCheckOption,
NXOpen::CAE::SimSolution::SolveMode  runModeOption,
bool  skipSolutionWithResults,
int *  numSolutionsSolved,
int *  numSolutionsFailed,
int *  numSolutionsSkipped 
)

Solve all meta solutions in the sim document.


Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
solveOptionsolve option
setupCheckOptionsetup check option
runModeOptionrun mode option
skipSolutionWithResultsskip the solution if it has a result
numSolutionsSolvedthe number of solutions solved
numSolutionsFailedthe number of solutions which failed
numSolutionsSkippedthe number of solutions which have been skipped
void NXOpen::CAE::SimSolveManager::SolveAllSolutions ( NXOpen::CAE::SimSolution::SolveOption  solveOption,
NXOpen::CAE::SimSolution::SetupCheckOption  setupCheckOption,
NXOpen::CAE::SimSolution::SolveMode  runModeOption,
bool  skipSolutionWithResults,
int *  numSolutionsSolved,
int *  numSolutionsFailed,
int *  numSolutionsSkipped 
)

Solve all solutions in the sim document.


Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
solveOptionsolve option
setupCheckOptionsetup check option
runModeOptionrun mode option
skipSolutionWithResultsskip the solution if it has a result
numSolutionsSolvedthe number of solutions solved
numSolutionsFailedthe number of solutions which failed
numSolutionsSkippedthe number of solutions which have been skipped
void NXOpen::CAE::SimSolveManager::SolveChainOfSolutions ( const std::vector< NXOpen::CAE::SimSolution * > &  pSolutions,
NXOpen::CAE::SimSolution::SolveOption  solveOption,
NXOpen::CAE::SimSolution::SetupCheckOption  setupCheckOption,
NXOpen::CAE::SimSolution::SolveMode  runModeOption,
int *  numSolutionsSolved,
int *  numSolutionsFailed,
int *  numSolutionsSkipped 
)

Solve the chain of solutions given in input.


Created in NX11.0.0.

License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")

Parameters
pSolutionsThe solutions to be solved
solveOptionsolve option
setupCheckOptionsetup check option
runModeOptionrun mode option
numSolutionsSolvedthe number of solutions solved
numSolutionsFailedthe number of solutions which failed
numSolutionsSkippedthe number of solutions which have been skipped
tag_t NXOpen::CAE::SimSolveManager::Tag ( ) const

Returns the tag of this object.


The documentation for this class was generated from the following file:
Copyright 2017 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.