NX Open C++ Reference Guide
|
Represents motion session
To obtain an instance of this class, refer to Session
Created in NX5.0.0.
More...
Public Member Functions | |
NXString | CloneSimulation (NXOpen::NXObject *masterPart, const NXString &motionSimName) |
Clone the Simulation. | |
NXString | CloneSimulation (NXOpen::NXObject *masterPart, const char *motionSimName) |
Clone the Simulation. | |
NXOpen::NXObject * | ConstraintsToMotionObject (NXOpen::NXObject *scenarioPart, NXOpen::NXObject *masterPart) |
Convert mating conditions and constraints to links and joints. | |
NXString | CreateNamingSimulation (NXOpen::NXObject *masterPart, const NXString &inputSimName) |
Create the Simulation with an input name. | |
NXString | CreateNamingSimulation (NXOpen::NXObject *masterPart, const char *inputSimName) |
Create the Simulation with an input name. | |
NXOpen::Motion::PhysicsConversionBuilder * | CreatePhysicsConversionBuilder (NXOpen::NXObject *scenarioPart) |
Creates a Motion::PhysicsConversionBuilder. | |
NXString | CreateSimulation (NXOpen::NXObject *masterPart) |
Create the Simulation. | |
void | DeleteSimulation (NXOpen::NXObject *masterPart, const NXString &motionSimName) |
Delete the Simulation. | |
void | DeleteSimulation (NXOpen::NXObject *masterPart, const char *motionSimName) |
Delete the Simulation. | |
void | DirectOpenSimulation (const NXString &motionSimName) |
Direct open the Simulation. | |
void | DirectOpenSimulation (const char *motionSimName) |
Direct open the Simulation. | |
NXOpen::Motion::MotionEnvironment * | Environments () |
Returns the Motion::MotionEnvironment belonging to this part Created in NX7.5.0. | |
void | ExportProcessSimulateKinematics () |
Export kinematics for Process Simulate Created in NX8.5.0. | |
NXOpen::NXObject * | FixLinkToGround (NXOpen::NXObject *link) |
Fix the link to ground. | |
NXString | GetFullName (NXOpen::NXObject *masterPart, const NXString &scenarioName) |
Get the full name for a scenario name. | |
NXString | GetFullName (NXOpen::NXObject *masterPart, const char *scenarioName) |
Get the full name for a scenario name. | |
std::vector< NXString > | GetScenarioNames (NXOpen::NXObject *masterPart) |
Get all scenario names. | |
void | InitializeMechanisms () |
Initialize the mech Created in NX6.0.0. | |
NXOpen::Motion::MotionMethods * | MotionMethods () |
Returns the Motion::MotionMethods belonging to this part Created in NX8.0.0. | |
NXOpen::Motion::PostProcess * | PostProcess () |
Returns the Motion::PostProcess belonging to this part Created in NX7.5.0. | |
void | ReparentSimulation (const NXString &motionSimFullName, const NXString &destinationDirectory) |
Reparent the Simulation. | |
void | ReparentSimulation (const char *motionSimFullName, const char *destinationDirectory) |
Reparent the Simulation. | |
tag_t | Tag () const |
Returns the tag of this object. | |
Represents motion session
To obtain an instance of this class, refer to Session
Created in NX5.0.0.
NXString NXOpen::Motion::MotionSession::CloneSimulation | ( | NXOpen::NXObject * | masterPart, |
const NXString & | motionSimName | ||
) |
Clone the Simulation.
masterPart | the master part |
motionSimName | motion simulation part which ready to be cloned NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::Motion::MotionSession::CloneSimulation | ( | NXOpen::NXObject * | masterPart, |
const char * | motionSimName | ||
) |
Clone the Simulation.
masterPart | the master part |
motionSimName | motion simulation part which ready to be cloned NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::NXObject* NXOpen::Motion::MotionSession::ConstraintsToMotionObject | ( | NXOpen::NXObject * | scenarioPart, |
NXOpen::NXObject * | masterPart | ||
) |
Convert mating conditions and constraints to links and joints.
scenarioPart | the scenario part object |
masterPart | the master part object |
NXString NXOpen::Motion::MotionSession::CreateNamingSimulation | ( | NXOpen::NXObject * | masterPart, |
const NXString & | inputSimName | ||
) |
Create the Simulation with an input name.
masterPart | the master_part |
inputSimName | the input simulation name NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::Motion::MotionSession::CreateNamingSimulation | ( | NXOpen::NXObject * | masterPart, |
const char * | inputSimName | ||
) |
Create the Simulation with an input name.
masterPart | the master_part |
inputSimName | the input simulation name NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Motion::PhysicsConversionBuilder* NXOpen::Motion::MotionSession::CreatePhysicsConversionBuilder | ( | NXOpen::NXObject * | scenarioPart | ) |
Creates a Motion::PhysicsConversionBuilder.
scenarioPart | scenario part |
NXString NXOpen::Motion::MotionSession::CreateSimulation | ( | NXOpen::NXObject * | masterPart | ) |
Create the Simulation.
masterPart | the master_part |
void NXOpen::Motion::MotionSession::DeleteSimulation | ( | NXOpen::NXObject * | masterPart, |
const NXString & | motionSimName | ||
) |
Delete the Simulation.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
masterPart | the master_part |
motionSimName | motion simulation part which ready to be deleted NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Motion::MotionSession::DeleteSimulation | ( | NXOpen::NXObject * | masterPart, |
const char * | motionSimName | ||
) |
Delete the Simulation.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
masterPart | the master_part |
motionSimName | motion simulation part which ready to be deleted NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Motion::MotionSession::DirectOpenSimulation | ( | const NXString & | motionSimName | ) |
Direct open the Simulation.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
motionSimName | motion simulation part name NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Motion::MotionSession::DirectOpenSimulation | ( | const char * | motionSimName | ) |
Direct open the Simulation.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
motionSimName | motion simulation part name NOTE: The full Unicode character set is not supported for this parameter. |
NXOpen::Motion::MotionEnvironment* NXOpen::Motion::MotionSession::Environments | ( | ) |
Returns the Motion::MotionEnvironment belonging to this part
Created in NX7.5.0.
void NXOpen::Motion::MotionSession::ExportProcessSimulateKinematics | ( | ) |
Export kinematics for Process Simulate
Created in NX8.5.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::NXObject* NXOpen::Motion::MotionSession::FixLinkToGround | ( | NXOpen::NXObject * | link | ) |
Fix the link to ground.
link | the link object |
NXString NXOpen::Motion::MotionSession::GetFullName | ( | NXOpen::NXObject * | masterPart, |
const NXString & | scenarioName | ||
) |
Get the full name for a scenario name.
masterPart | the master part object |
scenarioName | scenario name to check (with or without extension) NOTE: The full Unicode character set is not supported for this parameter. |
NXString NXOpen::Motion::MotionSession::GetFullName | ( | NXOpen::NXObject * | masterPart, |
const char * | scenarioName | ||
) |
Get the full name for a scenario name.
masterPart | the master part object |
scenarioName | scenario name to check (with or without extension) NOTE: The full Unicode character set is not supported for this parameter. |
std::vector<NXString> NXOpen::Motion::MotionSession::GetScenarioNames | ( | NXOpen::NXObject * | masterPart | ) |
Get all scenario names.
masterPart | the master part object |
void NXOpen::Motion::MotionSession::InitializeMechanisms | ( | ) |
Initialize the mech
Created in NX6.0.0.
License requirements : mechanisms ("MECHANISMS")
NXOpen::Motion::MotionMethods* NXOpen::Motion::MotionSession::MotionMethods | ( | ) |
Returns the Motion::MotionMethods belonging to this part
Created in NX8.0.0.
NXOpen::Motion::PostProcess* NXOpen::Motion::MotionSession::PostProcess | ( | ) |
Returns the Motion::PostProcess belonging to this part
Created in NX7.5.0.
void NXOpen::Motion::MotionSession::ReparentSimulation | ( | const NXString & | motionSimFullName, |
const NXString & | destinationDirectory | ||
) |
Reparent the Simulation.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
motionSimFullName | motion simulation full name NOTE: The full Unicode character set is not supported for this parameter. |
destinationDirectory | destination directory NOTE: The full Unicode character set is not supported for this parameter. |
void NXOpen::Motion::MotionSession::ReparentSimulation | ( | const char * | motionSimFullName, |
const char * | destinationDirectory | ||
) |
Reparent the Simulation.
Created in NX5.0.0.
License requirements : mechanisms ("MECHANISMS")
motionSimFullName | motion simulation full name NOTE: The full Unicode character set is not supported for this parameter. |
destinationDirectory | destination directory NOTE: The full Unicode character set is not supported for this parameter. |
tag_t NXOpen::Motion::MotionSession::Tag | ( | ) | const |
Returns the tag of this object.