NX Open C++ Reference Guide
Public Member Functions | List of all members
NXOpen::Motion::MotionSession Class Reference

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::NXObjectConstraintsToMotionObject (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::PhysicsConversionBuilderCreatePhysicsConversionBuilder (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::MotionEnvironmentEnvironments ()
 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::NXObjectFixLinkToGround (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< NXStringGetScenarioNames (NXOpen::NXObject *masterPart)
 Get all scenario names.
 
void InitializeMechanisms ()
 Initialize the mech
Created in NX6.0.0.
 
NXOpen::Motion::MotionMethodsMotionMethods ()
 Returns the Motion::MotionMethods belonging to this part
Created in NX8.0.0.
 
NXOpen::Motion::PostProcessPostProcess ()
 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.
 

Detailed Description

Represents motion session
To obtain an instance of this class, refer to Session

Created in NX5.0.0.


Member Function Documentation

NXString NXOpen::Motion::MotionSession::CloneSimulation ( NXOpen::NXObject masterPart,
const NXString motionSimName 
)

Clone the Simulation.

Returns
new motion simulation part name
Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe master part
motionSimNamemotion 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.

Returns
new motion simulation part name
Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe master part
motionSimNamemotion 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.

Returns
the link which will be fixed to ground
Created in NX6.0.1.

License requirements : mechanisms ("MECHANISMS")
Parameters
scenarioPartthe scenario part object
masterPartthe master part object
NXString NXOpen::Motion::MotionSession::CreateNamingSimulation ( NXOpen::NXObject masterPart,
const NXString inputSimName 
)

Create the Simulation with an input name.

Returns
the created motion simulation part name
Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe master_part
inputSimNamethe 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.

Returns
the created motion simulation part name
Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe master_part
inputSimNamethe 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.

Returns

Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
scenarioPartscenario part
NXString NXOpen::Motion::MotionSession::CreateSimulation ( NXOpen::NXObject masterPart)

Create the Simulation.

Returns
created motion simulation part name
Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe 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")

Parameters
masterPartthe master_part
motionSimNamemotion 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")

Parameters
masterPartthe master_part
motionSimNamemotion 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")

Parameters
motionSimNamemotion 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")

Parameters
motionSimNamemotion 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.

Returns
the joint object created
Created in NX6.0.1.

License requirements : mechanisms ("MECHANISMS")
Parameters
linkthe link object
NXString NXOpen::Motion::MotionSession::GetFullName ( NXOpen::NXObject masterPart,
const NXString scenarioName 
)

Get the full name for a scenario name.

Returns
full path to the file
Created in NX7.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe master part object
scenarioNamescenario 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.

Returns
full path to the file
Created in NX7.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe master part object
scenarioNamescenario 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.

Returns
scenario names
Created in NX7.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
masterPartthe 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")

Parameters
motionSimFullNamemotion simulation full name
NOTE: The full Unicode character set is not supported for this parameter.
destinationDirectorydestination 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")

Parameters
motionSimFullNamemotion simulation full name
NOTE: The full Unicode character set is not supported for this parameter.
destinationDirectorydestination 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.


The documentation for this class was generated from the following file:
Copyright 2013 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.