NX Open C++ Reference Guide
|
Represents a solution in the .sim files. More...
Public Types | |
enum | SetupCheckOption { SetupCheckOptionDoNotCheck, SetupCheckOptionCheckAndStopAtFirstError, SetupCheckOptionCompleteCheckAndOutputErrors } |
Model Setup Check Options. More... | |
enum | SolveOption { SolveOptionSolve, SolveOptionWriteSolverInputFile, SolveOptionSolveInputFile, SolveOptionWriteEditAndSolveInputFile, SolveOptionEditSolverInputFile } |
Solve Options. More... | |
Public Member Functions | |
NXOpen::CAE::SimSolutionStep * | ActiveStep () |
Returns the active step Created in NX4.0.0. | |
void | AddBc (NXOpen::CAE::SimBC *bc) |
Add the bc to the solution. | |
void | AddStep (NXOpen::CAE::SimSolutionStep *step) |
Adds a step to the solution. | |
int | AllowedStepTypeCount () |
Returns the count of allowable step types. | |
NXString | AnalysisType () |
Returns the analysis type. | |
void | ApplySolverLanguageExportOptions (NXOpen::CAE::CaeDataContainer *propertyList) |
Stores the solver language export options to the specified solution. | |
NXOpen::CAE::CompanionResultCollection * | CompanionResults () |
Returns the CAE Companion Results collection belonging to this Solution Created in NX7.5.0. | |
int | ConflictingConstraintsCount () |
Returns the number of conflicting constraint pairs in this solution Created in NX8.0.0. | |
NXOpen::CAE::CorrelAlignmentBuilder * | CreateAlignmentBuilder () |
Creates the builder object for test and imported solution alignment dialog. | |
NXOpen::CAE::ConstraintResolutionBuilder * | CreateConstraintResolutionBuilder (NXOpen::CAE::SimGroupContainer *tStep, NXOpen::CAE::SimConstraint *tConstraint1, NXOpen::CAE::SimConstraint *tConstraint2) |
Creates a constraint resolution builder for this input pair of constraints. | |
NXOpen::CAE::SimSolutionStep * | CreateStep (int stepType, const NXString &stepName) |
Creates a step and add to the solution. | |
void | DeleteStep (NXOpen::CAE::SimSolutionStep *step) |
Removes a step from the solution. | |
void | GetConflictingConstraintPairByIndex (int index, NXOpen::CAE::SimConstraint **tConstrain1, NXOpen::CAE::SimConstraint **tConstrain2, bool *ignored) |
Returns the nth conflicting constraint pair, where the index is between 0 and CAE::SimSolution::ConflictingConstraintsCount - 1 Created in NX8.0.0. | |
NXOpen::CAE::SimSolutionStep * | GetStepByIndex (int stepIndex) |
Returns the step at the index passed. | |
NXOpen::CAE::PropertyTable * | PropertyTable () |
Returns the property table associated with the solution object Created in NX4.0.0. | |
void | RemoveBc (NXOpen::CAE::SimBC *bc) |
Remove the bc from the solution. | |
void | Rename (const NXString &name, bool renameResults) |
Rename Solution and optionally rename associated results files Created in NX6.0.2. | |
void | ResolveConstraintConflicts () |
Runs the Assisted Conflict Check Mechanism for all constraints CAE::SimConstraint in an active solution CAE::SimSolution and/or in an active step CAE::SimSolutionStep , generating new constraints CAE::SimConstraint if there is any conflcit between the constraints. | |
void | SetActiveStep (NXOpen::CAE::SimSolutionStep *activeStep) |
Sets the active step Created in NX4.0.0. | |
NXString | SolutionType () |
Returns the solution type. | |
void | Solve (NXOpen::CAE::SimSolution::SolveOption solveOption, NXOpen::CAE::SimSolution::SetupCheckOption setupCheckOption) |
Solves the solution. | |
NXOpen::CAE::PropertyTable * | SolverOptionsPropertyTable () |
Returns the property table associated with the solution's solver options Created in NX6.0.2. | |
NXString | SolverType () |
Returns the solver type. | |
int | StepCount () |
Returns the number of steps. |
Represents a solution in the .sim files.
For more information, refer to the Solver language documentation in the Solver language documentation .
To create a new instance of this class, use CAE::SimSimulation::CreateSolution
Created in NX4.0.0.
Model Setup Check Options.
Solve Options.
Returns the active step
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SimSolution::AddBc | ( | NXOpen::CAE::SimBC * | bc | ) |
Add the bc to the solution.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
bc | the bc to be added |
void NXOpen::CAE::SimSolution::AddStep | ( | NXOpen::CAE::SimSolutionStep * | step | ) |
Adds a step to the solution.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
step | solution step to be added |
Returns the count of allowable step types.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Returns the analysis type.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SimSolution::ApplySolverLanguageExportOptions | ( | NXOpen::CAE::CaeDataContainer * | propertyList | ) |
Stores the solver language export options to the specified solution.
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
propertyList | the export option parameters. See CAE::CaeSession::GetDataContainer . |
Returns the CAE Companion Results collection belonging to this Solution
Created in NX7.5.0.
Returns the number of conflicting constraint pairs in this solution
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Creates the builder object for test and imported solution alignment dialog.
NXOpen::CAE::ConstraintResolutionBuilder* NXOpen::CAE::SimSolution::CreateConstraintResolutionBuilder | ( | NXOpen::CAE::SimGroupContainer * | tStep, |
NXOpen::CAE::SimConstraint * | tConstraint1, | ||
NXOpen::CAE::SimConstraint * | tConstraint2 | ||
) |
Creates a constraint resolution builder for this input pair of constraints.
tStep | solution step. can be same as solution |
tConstraint1 | first constraint in conflict |
tConstraint2 | second constraint in conflict |
NXOpen::CAE::SimSolutionStep* NXOpen::CAE::SimSolution::CreateStep | ( | int | stepType, |
const NXString & | stepName | ||
) |
Creates a step and add to the solution.
stepType | index of the step type |
stepName | name of the step NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::CAE::SimSolution::DeleteStep | ( | NXOpen::CAE::SimSolutionStep * | step | ) |
Removes a step from the solution.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
step | step CAE::SimSolutionStep to be added |
void NXOpen::CAE::SimSolution::GetConflictingConstraintPairByIndex | ( | int | index, |
NXOpen::CAE::SimConstraint ** | tConstrain1, | ||
NXOpen::CAE::SimConstraint ** | tConstrain2, | ||
bool * | ignored | ||
) |
Returns the nth conflicting constraint pair, where the index is between 0 and CAE::SimSolution::ConflictingConstraintsCount - 1
Created in NX8.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
index | index of the conflicting constraint pair, which is between 0 and CAE::SimSolution::ConflictingConstraintsCount - 1 |
tConstrain1 | constraint1 for this constraint pair |
tConstrain2 | constraint2 for this constraint pair |
ignored | indicates that this conflict pair was previously resolved using the CAE::ConstraintResolutionBuilder::RuleIgnoreConflict |
NXOpen::CAE::SimSolutionStep* NXOpen::CAE::SimSolution::GetStepByIndex | ( | int | stepIndex | ) |
Returns the step at the index passed.
stepIndex | index of the step |
Returns the property table associated with the solution object
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SimSolution::RemoveBc | ( | NXOpen::CAE::SimBC * | bc | ) |
Remove the bc from the solution.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
bc | the bc to be removed |
void NXOpen::CAE::SimSolution::Rename | ( | const NXString & | name, |
bool | renameResults | ||
) |
Rename Solution and optionally rename associated results files
Created in NX6.0.2.
License requirements : None
name | new solution name NOTE: The full Unicode character set is not supported for this parameter. |
renameResults | true if you what associated results files to be renamed as well |
Runs the Assisted Conflict Check Mechanism for all constraints CAE::SimConstraint in an active solution CAE::SimSolution and/or in an active step CAE::SimSolutionStep , generating new constraints CAE::SimConstraint if there is any conflcit between the constraints.
Created in NX6.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SimSolution::SetActiveStep | ( | NXOpen::CAE::SimSolutionStep * | activeStep | ) |
Sets the active step
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
activeStep | active step CAE::SimSolutionStep |
Returns the solution type.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
void NXOpen::CAE::SimSolution::Solve | ( | NXOpen::CAE::SimSolution::SolveOption | solveOption, |
NXOpen::CAE::SimSolution::SetupCheckOption | setupCheckOption | ||
) |
Solves the solution.
Created in NX6.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
solveOption | solve option |
setupCheckOption | setup check option |
Returns the property table associated with the solution's solver options
Created in NX6.0.2.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Returns the solver type.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")
Returns the number of steps.
Created in NX4.0.0.
License requirements : nx_masterfem ("Finite Element Modeling") OR nx_design_sim ("NX Design Simulation")