NX Open C++ Reference Guide
|
Represents the objective functions of an optimization
Created in NX8.0.0.
More...
Public Types | |
enum | ObjectiveType { ObjectiveTypeMinimum, ObjectiveTypeMaximum, ObjectiveTypeMaxMin } |
Defines the target type of the design objective. More... | |
Public Member Functions | |
void | AddObjectives (const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > &objectives) |
Add objectives Created in NX8.0.0. | |
std::vector < NXOpen::CAE::Optimization::TBSSingleObjective * > | GetObjectives () |
Returns the design response. | |
void | RemoveObjectives (const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > &objectives, bool deleteObject) |
Remove objectives Created in NX8.0.0. | |
void | SetObjectives (const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > &objectives) |
Sets the design response Created in NX8.0.0. | |
void | SetTargetObjective (NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType target) |
Sets the target objective type Created in NX8.0.0. | |
NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType | TargetObjective () |
Returns the target objective type Created in NX8.0.0. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents the objective functions of an optimization
Created in NX8.0.0.
void NXOpen::CAE::Optimization::TBSObjectives::AddObjectives | ( | const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > & | objectives | ) |
Add objectives
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")
objectives | objectives |
std::vector<NXOpen::CAE::Optimization::TBSSingleObjective *> NXOpen::CAE::Optimization::TBSObjectives::GetObjectives | ( | ) |
Returns the design response.
void NXOpen::CAE::Optimization::TBSObjectives::RemoveObjectives | ( | const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > & | objectives, |
bool | deleteObject | ||
) |
Remove objectives
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")
objectives | objectives |
deleteObject | deleteobject |
void NXOpen::CAE::Optimization::TBSObjectives::SetObjectives | ( | const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > & | objectives | ) |
Sets the design response
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")
objectives | objectives |
void NXOpen::CAE::Optimization::TBSObjectives::SetTargetObjective | ( | NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType | target | ) |
Sets the target objective type
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")
target | target |
NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType NXOpen::CAE::Optimization::TBSObjectives::TargetObjective | ( | ) |
Returns the target objective type
Created in NX8.0.0.
License requirements : None