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

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...

Inheritance diagram for NXOpen::CAE::Optimization::TBSConstraintBuilder:
NXOpen::Builder NXOpen::TaggedObject NXOpen::GeometricUtilities::IComponentBuilder

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::ExpressionConstraintValue ()
 Returns the constrain value
Created in NX8.0.0. More...
 
NXOpen::CAE::Optimization::TBSDesignResponseDesignResponse ()
 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::NameDescriptionNameDescription ()
 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::NXObjectCommit ()
 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::NXObjectGetObject ()
 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...
 

Detailed Description

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.


Member Enumeration Documentation

Defines the constraint type.

Enumerator
ConstraintOptionEq 

Value of equality constraint.

ConstraintOptionLt 

Value of greater or equal constraint.

ConstraintOptionGt 

Value of less or equal constraint.

Defines the type of constraint value.

Enumerator
MagnitudeTypeRelative 

Constraints could be given in relative values.

MagnitudeTypeAbsolute 

Constraints could be given in absolute values.

Member Function Documentation

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

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

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

Parameters
magnitudemagnitude

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