NX Open C++ Reference Guide
|
Represents a NXOpen::Tooling::UserDefinedMotionBuilder to create user defined motion, which contains linear and rotary motion
To create a new instance of this class, use NXOpen::Tooling::ProgressiveDieManager::CreateUserDefinedMotionBuilder
Default values.
More...
Public Types | |
enum | LinearCurveTypes { LinearCurveTypesLinear, LinearCurveTypesFromFile } |
Specifies the motion curve types when motion type is Linear. More... | |
enum | MotionTypes { MotionTypesLinear, MotionTypesRotary } |
Specifies the motion types. More... | |
enum | RotaryCurveTypes { RotaryCurveTypesRotary, RotaryCurveTypesFromFile } |
Specifies the motion curve types when motion type is Rotary. More... | |
Public Member Functions | |
void | DeleteUserDefinedMotion (const NXString &motionName) |
Delete a user defined motion Created in NX11.0.0. More... | |
void | DeleteUserDefinedMotion (const char *motionName) |
Delete a user defined motion Created in NX11.0.0. More... | |
NXString | ExportMotion () |
Returns the export motion Created in NX11.0.0. More... | |
NXString | ImportMotion () |
Returns the import motion Created in NX11.0.0. More... | |
NXOpen::Tooling::UserDefinedMotionBuilder::LinearCurveTypes | LinearCurveType () |
Returns the linear curve type Created in NX11.0.0. More... | |
NXOpen::Direction * | LinearMotionVector () |
Returns the linear motion vector Created in NX11.0.0. More... | |
NXOpen::SelectDisplayableObjectList * | MotionBody () |
Returns the motion body Created in NX11.0.0. More... | |
NXString | MotionName () |
Returns the motion name Created in NX11.0.0. More... | |
NXOpen::Tooling::UserDefinedMotionBuilder::MotionTypes | MotionType () |
Returns the motion type Created in NX11.0.0. More... | |
double | MoveDistance () |
Returns the move distance Created in NX11.0.0. More... | |
double | PressStartAngle () |
Returns the press start angle Created in NX11.0.0. More... | |
double | PressStopAngle () |
Returns the press stop angle Created in NX11.0.0. More... | |
double | ReturnStartAngle () |
Returns the return start angle Created in NX11.0.0. More... | |
double | ReturnStopAngle () |
Returns the return stop angle Created in NX11.0.0. More... | |
NXOpen::Tooling::UserDefinedMotionBuilder::RotaryCurveTypes | RotaryCurveType () |
Returns the rotary curve type Created in NX11.0.0. More... | |
NXOpen::Axis * | RotaryMotionAxis () |
Returns the rotary motion axis Created in NX11.0.0. More... | |
double | RotationAngle () |
Returns the rotation angle Created in NX11.0.0. More... | |
void | SetExportMotion (const NXString &filename) |
Sets the export motion Created in NX11.0.0. More... | |
void | SetExportMotion (const char *filename) |
Sets the export motion Created in NX11.0.0. More... | |
void | SetImportMotion (const NXString &filename) |
Sets the import motion Created in NX11.0.0. More... | |
void | SetImportMotion (const char *filename) |
Sets the import motion Created in NX11.0.0. More... | |
void | SetLinearCurveType (NXOpen::Tooling::UserDefinedMotionBuilder::LinearCurveTypes linearCurveType) |
Sets the linear curve type Created in NX11.0.0. More... | |
void | SetLinearMotionVector (NXOpen::Direction *linearMotionVector) |
Sets the linear motion vector Created in NX11.0.0. More... | |
void | SetMotionName (const NXString &motionName) |
Sets the motion name Created in NX11.0.0. More... | |
void | SetMotionName (const char *motionName) |
Sets the motion name Created in NX11.0.0. More... | |
void | SetMotionType (NXOpen::Tooling::UserDefinedMotionBuilder::MotionTypes motionType) |
Sets the motion type Created in NX11.0.0. More... | |
void | SetMoveDistance (double moveDistance) |
Sets the move distance Created in NX11.0.0. More... | |
void | SetPressStartAngle (double pressStartAngle) |
Sets the press start angle Created in NX11.0.0. More... | |
void | SetPressStopAngle (double pressStopAngle) |
Sets the press stop angle Created in NX11.0.0. More... | |
void | SetReturnStartAngle (double returnStartAngle) |
Sets the return start angle Created in NX11.0.0. More... | |
void | SetReturnStopAngle (double returnStopAngle) |
Sets the return stop angle Created in NX11.0.0. More... | |
void | SetRotaryCurveType (NXOpen::Tooling::UserDefinedMotionBuilder::RotaryCurveTypes rotaryCurveType) |
Sets the rotary curve type Created in NX11.0.0. More... | |
void | SetRotaryMotionAxis (NXOpen::Axis *rotaryMotionAxis) |
Sets the rotary motion axis Created in NX11.0.0. More... | |
void | SetRotationAngle (double rotationAngle) |
Sets the rotation angle Created in NX11.0.0. More... | |
void | SetUseControlData (bool useControlData) |
Sets the use control data Created in NX11.0.0. More... | |
bool | UseControlData () |
Returns the use control data Created in NX11.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 a NXOpen::Tooling::UserDefinedMotionBuilder to create user defined motion, which contains linear and rotary motion
To create a new instance of this class, use NXOpen::Tooling::ProgressiveDieManager::CreateUserDefinedMotionBuilder
Default values.
Property | Value |
---|---|
LinearCurveType |
Linear |
MotionType |
Linear |
MoveDistance |
0 |
PressStartAngle |
0 |
PressStopAngle |
90 |
ReturnStartAngle |
180 |
ReturnStopAngle |
270 |
RotaryCurveType |
Rotary |
RotationAngle |
0 |
UseControlData |
0 |
Created in NX11.0.0.
void NXOpen::Tooling::UserDefinedMotionBuilder::DeleteUserDefinedMotion | ( | const NXString & | motionName | ) |
Delete a user defined motion
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
motionName | motionname |
void NXOpen::Tooling::UserDefinedMotionBuilder::DeleteUserDefinedMotion | ( | const char * | motionName | ) |
Delete a user defined motion
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
motionName | motionname |
NXString NXOpen::Tooling::UserDefinedMotionBuilder::ExportMotion | ( | ) |
Returns the export motion
Created in NX11.0.0.
License requirements : None
NXString NXOpen::Tooling::UserDefinedMotionBuilder::ImportMotion | ( | ) |
Returns the import motion
Created in NX11.0.0.
License requirements : None
NXOpen::Tooling::UserDefinedMotionBuilder::LinearCurveTypes NXOpen::Tooling::UserDefinedMotionBuilder::LinearCurveType | ( | ) |
Returns the linear curve type
Created in NX11.0.0.
License requirements : None
NXOpen::Direction* NXOpen::Tooling::UserDefinedMotionBuilder::LinearMotionVector | ( | ) |
Returns the linear motion vector
Created in NX11.0.0.
License requirements : None
NXOpen::SelectDisplayableObjectList* NXOpen::Tooling::UserDefinedMotionBuilder::MotionBody | ( | ) |
Returns the motion body
Created in NX11.0.0.
License requirements : None
NXString NXOpen::Tooling::UserDefinedMotionBuilder::MotionName | ( | ) |
Returns the motion name
Created in NX11.0.0.
License requirements : None
NXOpen::Tooling::UserDefinedMotionBuilder::MotionTypes NXOpen::Tooling::UserDefinedMotionBuilder::MotionType | ( | ) |
Returns the motion type
Created in NX11.0.0.
License requirements : None
double NXOpen::Tooling::UserDefinedMotionBuilder::MoveDistance | ( | ) |
Returns the move distance
Created in NX11.0.0.
License requirements : None
double NXOpen::Tooling::UserDefinedMotionBuilder::PressStartAngle | ( | ) |
Returns the press start angle
Created in NX11.0.0.
License requirements : None
double NXOpen::Tooling::UserDefinedMotionBuilder::PressStopAngle | ( | ) |
Returns the press stop angle
Created in NX11.0.0.
License requirements : None
double NXOpen::Tooling::UserDefinedMotionBuilder::ReturnStartAngle | ( | ) |
Returns the return start angle
Created in NX11.0.0.
License requirements : None
double NXOpen::Tooling::UserDefinedMotionBuilder::ReturnStopAngle | ( | ) |
Returns the return stop angle
Created in NX11.0.0.
License requirements : None
NXOpen::Tooling::UserDefinedMotionBuilder::RotaryCurveTypes NXOpen::Tooling::UserDefinedMotionBuilder::RotaryCurveType | ( | ) |
Returns the rotary curve type
Created in NX11.0.0.
License requirements : None
NXOpen::Axis* NXOpen::Tooling::UserDefinedMotionBuilder::RotaryMotionAxis | ( | ) |
Returns the rotary motion axis
Created in NX11.0.0.
License requirements : None
double NXOpen::Tooling::UserDefinedMotionBuilder::RotationAngle | ( | ) |
Returns the rotation angle
Created in NX11.0.0.
License requirements : None
void NXOpen::Tooling::UserDefinedMotionBuilder::SetExportMotion | ( | const NXString & | filename | ) |
Sets the export motion
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
filename | filename |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetExportMotion | ( | const char * | filename | ) |
Sets the export motion
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
filename | filename |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetImportMotion | ( | const NXString & | filename | ) |
Sets the import motion
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
filename | filename |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetImportMotion | ( | const char * | filename | ) |
Sets the import motion
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
filename | filename |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetLinearCurveType | ( | NXOpen::Tooling::UserDefinedMotionBuilder::LinearCurveTypes | linearCurveType | ) |
Sets the linear curve type
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
linearCurveType | linearcurvetype |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetLinearMotionVector | ( | NXOpen::Direction * | linearMotionVector | ) |
Sets the linear motion vector
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
linearMotionVector | linearmotionvector |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetMotionName | ( | const NXString & | motionName | ) |
Sets the motion name
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
motionName | motionname |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetMotionName | ( | const char * | motionName | ) |
Sets the motion name
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
motionName | motionname |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetMotionType | ( | NXOpen::Tooling::UserDefinedMotionBuilder::MotionTypes | motionType | ) |
Sets the motion type
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
motionType | motiontype |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetMoveDistance | ( | double | moveDistance | ) |
Sets the move distance
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
moveDistance | movedistance |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetPressStartAngle | ( | double | pressStartAngle | ) |
Sets the press start angle
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
pressStartAngle | pressstartangle |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetPressStopAngle | ( | double | pressStopAngle | ) |
Sets the press stop angle
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
pressStopAngle | pressstopangle |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetReturnStartAngle | ( | double | returnStartAngle | ) |
Sets the return start angle
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
returnStartAngle | returnstartangle |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetReturnStopAngle | ( | double | returnStopAngle | ) |
Sets the return stop angle
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
returnStopAngle | returnstopangle |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetRotaryCurveType | ( | NXOpen::Tooling::UserDefinedMotionBuilder::RotaryCurveTypes | rotaryCurveType | ) |
Sets the rotary curve type
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
rotaryCurveType | rotarycurvetype |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetRotaryMotionAxis | ( | NXOpen::Axis * | rotaryMotionAxis | ) |
Sets the rotary motion axis
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
rotaryMotionAxis | rotarymotionaxis |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetRotationAngle | ( | double | rotationAngle | ) |
Sets the rotation angle
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
rotationAngle | rotationangle |
void NXOpen::Tooling::UserDefinedMotionBuilder::SetUseControlData | ( | bool | useControlData | ) |
Sets the use control data
Created in NX11.0.0.
License requirements : ug_mold_design ("UG MOLD") OR prog_die_wizard ("UG/Progressive Die Wizard")
useControlData | usecontroldata |
bool NXOpen::Tooling::UserDefinedMotionBuilder::UseControlData | ( | ) |
Returns the use control data
Created in NX11.0.0.
License requirements : None