NX Open C++ Reference Guide
Public Types | Public Member Functions | List of all members
NXOpen::CAE::Optimization::TBSObjectives Class Reference

Represents the objective functions of an optimization
Created in NX8.0.0. More...

Inheritance diagram for NXOpen::CAE::Optimization::TBSObjectives:
NXOpen::TaggedObject

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. More...
 
std::vector
< NXOpen::CAE::Optimization::TBSSingleObjective * > 
GetObjectives ()
 Returns the design response. More...
 
void RemoveObjectives (const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > &objectives, bool deleteObject)
 Remove objectives
Created in NX8.0.0. More...
 
void SetObjectives (const std::vector< NXOpen::CAE::Optimization::TBSSingleObjective * > &objectives)
 Sets the design response
Created in NX8.0.0. More...
 
void SetTargetObjective (NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType target)
 Sets the target objective type
Created in NX8.0.0. More...
 
NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType TargetObjective ()
 Returns the target objective type
Created in NX8.0.0. More...
 
- Public Member Functions inherited from NXOpen::TaggedObject
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents the objective functions of an optimization
Created in NX8.0.0.


Member Enumeration Documentation

Defines the target type of the design objective.

Enumerator
ObjectiveTypeMinimum 

Target is to minimize the list of design response.

ObjectiveTypeMaximum 

Target is to maximize the list of design response.

ObjectiveTypeMaxMin 

Target is the MINMAX formulation of the list of design responses.

Member Function Documentation

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")

Parameters
objectivesobjectives
std::vector<NXOpen::CAE::Optimization::TBSSingleObjective *> NXOpen::CAE::Optimization::TBSObjectives::GetObjectives ( )

Returns the design response.

Returns

Created in NX8.0.0.

License requirements : None
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")

Parameters
objectivesobjectives
deleteObjectdeleteobject
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")

Parameters
objectivesobjectives
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")

Parameters
targettarget
NXOpen::CAE::Optimization::TBSObjectives::ObjectiveType NXOpen::CAE::Optimization::TBSObjectives::TargetObjective ( )

Returns the target objective type
Created in NX8.0.0.



License requirements : None


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