NX Open C++ Reference Guide
|
Represents ConnectorBuilder
This is an abstract class, and cannot be created.
More...
Public Types | |
enum | AttachmentType { AttachmentTypeLink, AttachmentTypeSliderJoint, AttachmentTypeRevoluteJoint } |
Definitions of connector attachment type. More... | |
Public Member Functions | |
NXOpen::Motion::SelectLink * | ActionLink () |
Returns the action link. | |
NXOpen::Point * | ActionPoint () |
Returns the action point. | |
NXOpen::Motion::ConnectorBuilder::AttachmentType | Attachment () |
Returns the attachment type Created in NX6.0.0. | |
NXOpen::Motion::SelectJoint * | Joint () |
Returns the joint . | |
NXOpen::Motion::SelectLink * | ReactionLink () |
Returns the reaction link. | |
NXOpen::Point * | ReactionPoint () |
Returns the reaction point. | |
void | SetActionPoint (NXOpen::Point *actionPoint) |
Sets the action point. | |
void | SetAttachment (NXOpen::Motion::ConnectorBuilder::AttachmentType attachment) |
Sets the attachment type Created in NX6.0.0. | |
void | SetReactionPoint (NXOpen::Point *reactionPoint) |
Sets the reaction point. | |
![]() | |
double | DisplayScale () |
Returns the icon display scale Created in NX5.0.0. | |
NXString | GroupName () |
Returns the group name Created in NX5.0.0. | |
NXOpen::Motion::MotionObject::GroupType | GroupType () |
Returns the group type Created in NX5.0.0. | |
void | SetDisplayScale (double displayScale) |
Sets the icon display scale Created in NX5.0.0. | |
void | SetGroupName (const NXString &groupName) |
Sets the group name Created in NX5.0.0. | |
void | SetGroupName (const char *groupName) |
Sets the group name Created in NX5.0.0. | |
void | SetGroupType (NXOpen::Motion::MotionObject::GroupType groupType) |
Sets the group type Created in NX5.0.0. | |
![]() | |
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 ConnectorBuilder
This is an abstract class, and cannot be created.
Created in NX6.0.0.
NXOpen::Motion::SelectLink* NXOpen::Motion::ConnectorBuilder::ActionLink | ( | ) |
Returns the action link.
Only valid if Motion::ConnectorBuilder::AttachmentTypeLink is set.
Created in NX6.0.0.
License requirements : None
NXOpen::Point* NXOpen::Motion::ConnectorBuilder::ActionPoint | ( | ) |
Returns the action point.
Only valid if Motion::ConnectorBuilder::AttachmentTypeLink is set.
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::ConnectorBuilder::AttachmentType NXOpen::Motion::ConnectorBuilder::Attachment | ( | ) |
Returns the attachment type
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::SelectJoint* NXOpen::Motion::ConnectorBuilder::Joint | ( | ) |
Returns the joint .
Only valid if Motion::ConnectorBuilder::AttachmentTypeSliderJoint or Motion::ConnectorBuilder::AttachmentTypeRevoluteJoint is set.
Created in NX6.0.0.
License requirements : None
NXOpen::Motion::SelectLink* NXOpen::Motion::ConnectorBuilder::ReactionLink | ( | ) |
Returns the reaction link.
Only valid if Motion::ConnectorBuilder::AttachmentTypeLink is set.
Created in NX6.0.0.
License requirements : None
NXOpen::Point* NXOpen::Motion::ConnectorBuilder::ReactionPoint | ( | ) |
Returns the reaction point.
Only valid if Motion::ConnectorBuilder::AttachmentTypeLink is set.
Created in NX6.0.0.
License requirements : None
void NXOpen::Motion::ConnectorBuilder::SetActionPoint | ( | NXOpen::Point * | actionPoint | ) |
Sets the action point.
Only valid if Motion::ConnectorBuilder::AttachmentTypeLink is set.
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
actionPoint | actionpoint |
void NXOpen::Motion::ConnectorBuilder::SetAttachment | ( | NXOpen::Motion::ConnectorBuilder::AttachmentType | attachment | ) |
Sets the attachment type
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
attachment | attachment |
void NXOpen::Motion::ConnectorBuilder::SetReactionPoint | ( | NXOpen::Point * | reactionPoint | ) |
Sets the reaction point.
Only valid if Motion::ConnectorBuilder::AttachmentTypeLink is set.
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
reactionPoint | reactionpoint |