NX Open C++ Reference Guide
|
Represents the motion base object class. More...
Public Types | |
enum | GroupType { GroupTypeNone, GroupTypeImport } |
The group type attribute is used for import subassembly functionality. More... | |
Public Member Functions | |
double | DisplayScale () |
Returns the display scale factor Created in NX5.0.0. | |
NXString | GroupName () |
Returns the group name of motion object Created in NX5.0.0. | |
NXOpen::Motion::MotionObject::GroupType | GroupTypeOption () |
Returns the group type of motion object Created in NX5.0.0. | |
void | SetDisplayScale (double displayScale) |
Sets the display scale factor Created in NX5.0.0. | |
void | SetGroupName (const NXString &groupName) |
Sets the group name of motion object Created in NX5.0.0. | |
void | SetGroupTypeOption (NXOpen::Motion::MotionObject::GroupType groupType) |
Sets the group type of motion object Created in NX5.0.0. |
Represents the motion base object class.
This is an abstract class, and cannot be created.
Created in NX5.0.0.
The group type attribute is used for import subassembly functionality.
When import subassembly's mechanism, there will be a group node on the navigator, the motion objects which are automatically created by import subassembly's mechanism functionality will all appear under the group node. In this suitation, the motion objects' group type is Motion::MotionObject::GroupTypeImport . The group name attribute is for the name of group node.
Otherwise, the motion object (for instance a link) which is created by manual (by NX link UI) will appear without under any import group node. In this suitation, the motion object's group type is Motion::MotionObject::GroupTypeNone . The group name is NULL
double NXOpen::Motion::MotionObject::DisplayScale | ( | ) |
Returns the display scale factor
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
Returns the group name of motion object
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
Returns the group type of motion object
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
void NXOpen::Motion::MotionObject::SetDisplayScale | ( | double | displayScale | ) |
Sets the display scale factor
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
displayScale | display scale |
void NXOpen::Motion::MotionObject::SetGroupName | ( | const NXString & | groupName | ) |
Sets the group name of motion object
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
groupName | group name |
void NXOpen::Motion::MotionObject::SetGroupTypeOption | ( | NXOpen::Motion::MotionObject::GroupType | groupType | ) |
Sets the group type of motion object
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
groupType | group type |