NX Open C++ Reference Guide
|
Represents the solution to contain optimization setting
This is an abstract class, and cannot be created.
More...
Public Types | |
enum | ResultStatus { ResultStatusValid, ResultStatusOutOfDate, ResultStatusInvalid } |
Define the status of optimization result. More... | |
Public Member Functions | |
NXOpen::CAE::Optimization::TBSConstraintCollection * | Constraints () |
Represents the response constrain collection belonging to this optimization solution Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSOptimizationParameters * | ControlParameters () |
Returns the parameters to control optimization Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSDesignArea * | DesignArea () |
Returns the design area that will be modified during optimization Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSDesignVariableCollection * | DesignVariables () |
Represents the design variable collection belonging to this optimization solution Created in NX8.0.0. | |
void | Destroy (bool deleteResult) |
Deletes an optimization solution and the associated result file optional Created in NX8.0.0. | |
NXOpen::TaggedObject * | Find (const NXString &journalIdentifier) |
Finds the TaggedObject with the given identifier as recorded in a journal. | |
int | GetIterationNumber () |
Returns the iteration number during the optimization. | |
NXOpen::CAE::Optimization::TBSOptimizationSolution::ResultStatus | GetPostResult (int iterationID, NXString *postResultName) |
Returns the post result file name and status. | |
NXOpen::CAE::Optimization::TBSOptimizationSolution::ResultStatus | GetSmoothResult (NXOpen::CAE::Optimization::TBSSmooth *smooth, NXString *smoothResultName) |
Returns the result file name and status for a specified smoothing setting. | |
NXOpen::CAE::Optimization::TBSObjectives * | Objectives () |
Returns the objective function of the optimization Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSOutputControlOptions * | OutputControlOptions () |
Returns the output control options of the optimization Created in NX8.0.0. | |
void | Rename (const NXString &name, bool renameResults) |
Rename Solution and optionally rename associated results files Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSRestrictAreaCollection * | RestrictAreas () |
Represents the restrict area collection belonging to this optimization solution Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSSmoothCollection * | Smoothings () |
Represents the smooth collection belonging to this optimization solution Created in NX8.0.0. | |
void | Solve () |
Solves the optimization solution Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSStopCondition * | StopCondition () |
Returns the stop condition to end the optimization Created in NX8.0.0. |
Represents the solution to contain optimization setting
This is an abstract class, and cannot be created.
NXOpen::CAE::Optimization::TBSConstraintCollection* NXOpen::CAE::Optimization::TBSOptimizationSolution::Constraints | ( | ) |
Represents the response constrain collection belonging to this optimization solution
Created in NX8.0.0.
NXOpen::CAE::Optimization::TBSOptimizationParameters* NXOpen::CAE::Optimization::TBSOptimizationSolution::ControlParameters | ( | ) |
Returns the parameters to control optimization
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Optimization::TBSDesignArea* NXOpen::CAE::Optimization::TBSOptimizationSolution::DesignArea | ( | ) |
Returns the design area that will be modified during optimization
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Optimization::TBSDesignVariableCollection* NXOpen::CAE::Optimization::TBSOptimizationSolution::DesignVariables | ( | ) |
Represents the design variable collection belonging to this optimization solution
Created in NX8.0.0.
void NXOpen::CAE::Optimization::TBSOptimizationSolution::Destroy | ( | bool | deleteResult | ) |
Deletes an optimization solution and the associated result file optional
Created in NX8.0.0.
License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")
deleteResult | true if you want associated result files to be deleted as well |
NXOpen::TaggedObject* NXOpen::CAE::Optimization::TBSOptimizationSolution::Find | ( | const NXString & | journalIdentifier | ) |
Finds the TaggedObject with the given identifier as recorded in a journal.
In general, this method should not be used in handwritten code and exists to support record and playback of journals. An exception will be thrown if no object can be found with the given journal identifier.
journalIdentifier | Journal identifier of the object |
Returns the iteration number during the optimization.
NXOpen::CAE::Optimization::TBSOptimizationSolution::ResultStatus NXOpen::CAE::Optimization::TBSOptimizationSolution::GetPostResult | ( | int | iterationID, |
NXString * | postResultName | ||
) |
Returns the post result file name and status.
iterationID | iterationid |
postResultName | postresultname |
Returns the result file name and status for a specified smoothing setting.
smooth | smooth |
smoothResultName | smoothresultname |
NXOpen::CAE::Optimization::TBSObjectives* NXOpen::CAE::Optimization::TBSOptimizationSolution::Objectives | ( | ) |
Returns the objective function of the optimization
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Optimization::TBSOutputControlOptions* NXOpen::CAE::Optimization::TBSOptimizationSolution::OutputControlOptions | ( | ) |
Returns the output control options of the optimization
Created in NX8.0.0.
License requirements : None
void NXOpen::CAE::Optimization::TBSOptimizationSolution::Rename | ( | const NXString & | name, |
bool | renameResults | ||
) |
Rename Solution and optionally rename associated results files
Created in NX8.0.0.
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 |
NXOpen::CAE::Optimization::TBSRestrictAreaCollection* NXOpen::CAE::Optimization::TBSOptimizationSolution::RestrictAreas | ( | ) |
Represents the restrict area collection belonging to this optimization solution
Created in NX8.0.0.
NXOpen::CAE::Optimization::TBSSmoothCollection* NXOpen::CAE::Optimization::TBSOptimizationSolution::Smoothings | ( | ) |
Represents the smooth collection belonging to this optimization solution
Created in NX8.0.0.
Solves the optimization solution
Created in NX8.0.0.
License requirements : cae_opt_topo ("NX Topology Optimization") OR cae_opt_topobead ("NX Bead Optimization") OR cae_opt_toposhape ("NX Shape Optimization")
NXOpen::CAE::Optimization::TBSStopCondition* NXOpen::CAE::Optimization::TBSOptimizationSolution::StopCondition | ( | ) |
Returns the stop condition to end the optimization
Created in NX8.0.0.
License requirements : None