NX Open C++ Reference Guide
|
Represents a Mechanism Export object used to export one or more Motion objects to a text file. More...
Public Types | |
enum | PositionOrientationFormat { PositionOrientationFormatTransformationMatrix, PositionOrientationFormatPqr, PositionOrientationFormatBryantAngles, PositionOrientationFormatEulerAngles, PositionOrientationFormatEulerParameters } |
Format to export the position and orientation data. More... | |
Public Member Functions | |
void | ExportMdef (const NXString &fileName, NXOpen::Motion::MechanismExport::PositionOrientationFormat posOrientFormat, bool exportEmptyInputFields, bool exportUnusedOptions, bool exportSubmechAsMdef, bool enablePublish, const NXString &publishedFolder, const std::vector< NXOpen::NXObject * > &objects) |
Exports selected objects to .mdef file Created in NX12.0.0. More... | |
void | ExportMdef (const char *fileName, NXOpen::Motion::MechanismExport::PositionOrientationFormat posOrientFormat, bool exportEmptyInputFields, bool exportUnusedOptions, bool exportSubmechAsMdef, bool enablePublish, const char *publishedFolder, const std::vector< NXOpen::NXObject * > &objects) |
Exports selected objects to .mdef file Created in NX12.0.0. More... | |
void | ExportPlmxml (const NXString &fileName, const std::vector< NXOpen::NXObject * > &objects) |
Exports Mechanism to .xml file. More... | |
void | ExportPlmxml (const char *fileName, const std::vector< NXOpen::NXObject * > &objects) |
Exports Mechanism to .xml file. More... | |
tag_t | Tag () const |
Returns the tag of this object. More... | |
Represents a Mechanism Export object used to export one or more Motion objects to a text file.
To obtain an instance of this class, refer to NXOpen::Motion::MotionSession
Created in NX12.0.0.
Format to export the position and orientation data.
void NXOpen::Motion::MechanismExport::ExportMdef | ( | const NXString & | fileName, |
NXOpen::Motion::MechanismExport::PositionOrientationFormat | posOrientFormat, | ||
bool | exportEmptyInputFields, | ||
bool | exportUnusedOptions, | ||
bool | exportSubmechAsMdef, | ||
bool | enablePublish, | ||
const NXString & | publishedFolder, | ||
const std::vector< NXOpen::NXObject * > & | objects | ||
) |
Exports selected objects to .mdef file
Created in NX12.0.0.
License requirements : mechanisms ("MECHANISMS")
fileName | Full path to the .mdef file |
posOrientFormat | Format to export the position and orientation data |
exportEmptyInputFields | When TRUE, exports data that do not have any values defined |
exportUnusedOptions | When TRUE, exports data currently unused in the Motion objects |
exportSubmechAsMdef | When TRUE, export the submechanisms as .mdef files. Otherwise references them as .sim files. |
enablePublish | When TRUE, the publish option is enabled. |
publishedFolder | Full path to the published folder |
objects | Motion objects to export |
void NXOpen::Motion::MechanismExport::ExportMdef | ( | const char * | fileName, |
NXOpen::Motion::MechanismExport::PositionOrientationFormat | posOrientFormat, | ||
bool | exportEmptyInputFields, | ||
bool | exportUnusedOptions, | ||
bool | exportSubmechAsMdef, | ||
bool | enablePublish, | ||
const char * | publishedFolder, | ||
const std::vector< NXOpen::NXObject * > & | objects | ||
) |
Exports selected objects to .mdef file
Created in NX12.0.0.
License requirements : mechanisms ("MECHANISMS")
fileName | Full path to the .mdef file |
posOrientFormat | Format to export the position and orientation data |
exportEmptyInputFields | When TRUE, exports data that do not have any values defined |
exportUnusedOptions | When TRUE, exports data currently unused in the Motion objects |
exportSubmechAsMdef | When TRUE, export the submechanisms as .mdef files. Otherwise references them as .sim files. |
enablePublish | When TRUE, the publish option is enabled. |
publishedFolder | Full path to the published folder |
objects | Motion objects to export |
void NXOpen::Motion::MechanismExport::ExportPlmxml | ( | const NXString & | fileName, |
const std::vector< NXOpen::NXObject * > & | objects | ||
) |
Exports Mechanism to .xml file.
If Motion part is included, exports all the Motion objects from it.
Created in NX12.0.0.
License requirements : mechanisms ("MECHANISMS")
fileName | Full path of the .xml file |
objects | Motion objects or Motion part tag |
void NXOpen::Motion::MechanismExport::ExportPlmxml | ( | const char * | fileName, |
const std::vector< NXOpen::NXObject * > & | objects | ||
) |
Exports Mechanism to .xml file.
If Motion part is included, exports all the Motion objects from it.
Created in NX12.0.0.
License requirements : mechanisms ("MECHANISMS")
fileName | Full path of the .xml file |
objects | Motion objects or Motion part tag |
tag_t NXOpen::Motion::MechanismExport::Tag | ( | ) | const |
Returns the tag of this object.