NX Open C++ Reference Guide
|
Represents the builder of NXOpen::CAE::Optimization::TBSConstraint
To create a new instance of this class, use NXOpen::CAE::Optimization::TBSOptimizationManager::CreateResponseConstraintBuilder
Created in NX8.0.0.
More...
Public Types | |
enum | ConstraintOption { ConstraintOptionEq, ConstraintOptionLt, ConstraintOptionGt } |
Defines the constraint type. More... | |
enum | MagnitudeType { MagnitudeTypeRelative, MagnitudeTypeAbsolute } |
Defines the type of constraint value. More... | |
Public Member Functions | |
NXOpen::CAE::Optimization::TBSConstraintBuilder::ConstraintOption | ConstraintType () |
Returns the constraint type Created in NX8.0.0. More... | |
NXOpen::Expression * | ConstraintValue () |
Returns the constrain value Created in NX8.0.0. More... | |
NXOpen::CAE::Optimization::TBSDesignResponse * | DesignResponse () |
Returns the design response Created in NX8.0.0. More... | |
NXOpen::CAE::Optimization::TBSConstraintBuilder::MagnitudeType | Magnitude () |
Returns the magnitude type of the constraint Created in NX8.0.0. More... | |
NXOpen::CAE::Optimization::NameDescription * | NameDescription () |
Returns the name description Created in NX8.0.0. More... | |
void | SetConstraintType (NXOpen::CAE::Optimization::TBSConstraintBuilder::ConstraintOption constraintType) |
Sets the constraint type Created in NX8.0.0. More... | |
void | SetDesignResponse (NXOpen::CAE::Optimization::TBSDesignResponse *designResponse) |
Sets the design response Created in NX8.0.0. More... | |
void | SetMagnitude (NXOpen::CAE::Optimization::TBSConstraintBuilder::MagnitudeType magnitude) |
Sets the magnitude type of the constraint Created in NX8.0.0. More... | |
Public Member Functions inherited from NXOpen::Builder | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. More... | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. More... | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. More... | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. More... | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. More... | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Public Member Functions inherited from NXOpen::TaggedObject | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents the builder of NXOpen::CAE::Optimization::TBSConstraint
To create a new instance of this class, use NXOpen::CAE::Optimization::TBSOptimizationManager::CreateResponseConstraintBuilder
Created in NX8.0.0.
NXOpen::CAE::Optimization::TBSConstraintBuilder::ConstraintOption NXOpen::CAE::Optimization::TBSConstraintBuilder::ConstraintType | ( | ) |
Returns the constraint type
Created in NX8.0.0.
License requirements : None
NXOpen::Expression* NXOpen::CAE::Optimization::TBSConstraintBuilder::ConstraintValue | ( | ) |
Returns the constrain value
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Optimization::TBSDesignResponse* NXOpen::CAE::Optimization::TBSConstraintBuilder::DesignResponse | ( | ) |
Returns the design response
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Optimization::TBSConstraintBuilder::MagnitudeType NXOpen::CAE::Optimization::TBSConstraintBuilder::Magnitude | ( | ) |
Returns the magnitude type of the constraint
Created in NX8.0.0.
License requirements : None
NXOpen::CAE::Optimization::NameDescription* NXOpen::CAE::Optimization::TBSConstraintBuilder::NameDescription | ( | ) |
Returns the name description
Created in NX8.0.0.
License requirements : None
void NXOpen::CAE::Optimization::TBSConstraintBuilder::SetConstraintType | ( | NXOpen::CAE::Optimization::TBSConstraintBuilder::ConstraintOption | constraintType | ) |
Sets the constraint 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")
constraintType | constrainttype |
void NXOpen::CAE::Optimization::TBSConstraintBuilder::SetDesignResponse | ( | NXOpen::CAE::Optimization::TBSDesignResponse * | designResponse | ) |
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")
designResponse | designresponse |
void NXOpen::CAE::Optimization::TBSConstraintBuilder::SetMagnitude | ( | NXOpen::CAE::Optimization::TBSConstraintBuilder::MagnitudeType | magnitude | ) |
Sets the magnitude type of the constraint
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")
magnitude | magnitude |