NX Open C++ Reference Guide
|
Represents a Mechatronics::BreakingConstraint builder. More...
Public Types | |
enum | BreakingModeType { BreakingModeTypeForce, BreakingModeTypeTorque } |
Represents the breaking mode. More... | |
Public Member Functions | |
NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingModeType | BreakingMode () |
Returns the breaking mode. | |
NXOpen::Direction * | Direction () |
Returns the direction. | |
bool | FixedDirection () |
Returns the direction is fixed or not. | |
NXOpen::Mechatronics::SelectPhysicsJoint * | Joint () |
Returns the joint object. | |
NXOpen::Expression * | MaximumMagnitude () |
Returns the maximum allowable magnitude, the joint will be broken if it exceeds this value. | |
void | SetBreakingMode (NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingModeType breakingMode) |
Sets the breaking mode. | |
void | SetDirection (NXOpen::Direction *direction) |
Sets the direction. | |
void | SetFixedDirection (bool fixedDirection) |
Sets the direction is fixed or not. | |
void | SetJoint (NXOpen::Mechatronics::PhysicsJoint *joint) |
Sets the joint. | |
![]() | |
NXString | Name () |
Returns the name. | |
void | SetName (const NXString &name) |
Sets the name. | |
void | SetName (const char *name) |
Sets the name. | |
![]() | |
NXOpen::NXObject * | Commit () |
Commits any edits that have been applied to the builder. | |
void | Destroy () |
Deletes the builder, and cleans up any objects created by the builder. | |
std::vector< NXOpen::NXObject * > | GetCommittedObjects () |
For builders that create more than one object, this method returns the objects that are created by commit. | |
NXOpen::NXObject * | GetObject () |
Returns the object currently being edited by this builder. | |
void | ShowResults () |
Updates the model to reflect the result of an edit to the model for all builders that support showing results. | |
virtual bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. | |
![]() | |
tag_t | GetTag () const |
<b>Deprecated</b>:<br> Use Tag instead. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents a Mechatronics::BreakingConstraint builder.
To create a new instance of this class, use Mechatronics::BreakingConstraintCollection::CreateBreakingConstraintBuilder
Created in NX7.5.1.
NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingModeType NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingMode | ( | ) |
Returns the breaking mode.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Direction* NXOpen::Mechatronics::BreakingConstraintBuilder::Direction | ( | ) |
Returns the direction.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
bool NXOpen::Mechatronics::BreakingConstraintBuilder::FixedDirection | ( | ) |
Returns the direction is fixed or not.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Mechatronics::SelectPhysicsJoint* NXOpen::Mechatronics::BreakingConstraintBuilder::Joint | ( | ) |
Returns the joint object.
It can be any type of joints.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
NXOpen::Expression* NXOpen::Mechatronics::BreakingConstraintBuilder::MaximumMagnitude | ( | ) |
Returns the maximum allowable magnitude, the joint will be broken if it exceeds this value.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
void NXOpen::Mechatronics::BreakingConstraintBuilder::SetBreakingMode | ( | NXOpen::Mechatronics::BreakingConstraintBuilder::BreakingModeType | breakingMode | ) |
Sets the breaking mode.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
breakingMode | breakingmode |
void NXOpen::Mechatronics::BreakingConstraintBuilder::SetDirection | ( | NXOpen::Direction * | direction | ) |
Sets the direction.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
direction | direction |
void NXOpen::Mechatronics::BreakingConstraintBuilder::SetFixedDirection | ( | bool | fixedDirection | ) |
Sets the direction is fixed or not.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
fixedDirection | fixeddirection |
void NXOpen::Mechatronics::BreakingConstraintBuilder::SetJoint | ( | NXOpen::Mechatronics::PhysicsJoint * | joint | ) |
Sets the joint.
Created in NX7.5.1.
License requirements : nx_mcd_core ("MECHATRONICS CONCEPT DESIGNER")
joint | joint |