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 NXOpen::Session

Created in NX5.0.0. More...

Public Member Functions

NXString CloneSimulation (NXOpen::NXObject *masterPart, const NXString &motionSimName)
 Clone the Simulation. More...
 
NXString CloneSimulation (NXOpen::NXObject *masterPart, const char *motionSimName)
 Clone the Simulation. More...
 
NXOpen::NXObjectConstraintsToMotionObject (NXOpen::NXObject *scenarioPart, NXOpen::NXObject *masterPart)
 Convert mating conditions and constraints to links and joints. More...
 
NXString CreateNamingSimulation (NXOpen::NXObject *masterPart, const NXString &inputSimName)
 Create the Simulation with an input name. More...
 
NXString CreateNamingSimulation (NXOpen::NXObject *masterPart, const char *inputSimName)
 Create the Simulation with an input name. More...
 
NXOpen::Motion::PhysicsConversionBuilderCreatePhysicsConversionBuilder (NXOpen::NXObject *scenarioPart)
 Creates a NXOpen::Motion::PhysicsConversionBuilder. More...
 
NXString CreateSimulation (NXOpen::NXObject *masterPart)
 Create the Simulation. More...
 
void DeleteSimulation (NXOpen::NXObject *masterPart, const NXString &motionSimName)
 Delete the Simulation. More...
 
void DeleteSimulation (NXOpen::NXObject *masterPart, const char *motionSimName)
 Delete the Simulation. More...
 
void DirectOpenSimulation (const NXString &motionSimName)
 Direct open the Simulation. More...
 
void DirectOpenSimulation (const char *motionSimName)
 Direct open the Simulation. More...
 
NXOpen::Motion::MotionEnvironmentEnvironments ()
 Returns the NXOpen::Motion::MotionEnvironment belonging to this part
Created in NX7.5.0. More...
 
void ExportProcessSimulateKinematics ()
 Export kinematics for Process Simulate
Created in NX8.5.0. More...
 
NXOpen::NXObjectFixLinkToGround (NXOpen::NXObject *link)
 Fix the link to ground. More...
 
NXString GetFullName (NXOpen::NXObject *masterPart, const NXString &scenarioName)
 Get the full name for a scenario name. More...
 
NXString GetFullName (NXOpen::NXObject *masterPart, const char *scenarioName)
 Get the full name for a scenario name. More...
 
std::vector< NXStringGetScenarioNames (NXOpen::NXObject *masterPart)
 Get all scenario names. More...
 
void InitializeMechanisms ()
 Initialize the mech
Created in NX6.0.0. More...
 
NXOpen::Motion::MotionMethodsMotionMethods ()
 Returns the NXOpen::Motion::MotionMethods belonging to this part
Created in NX8.0.0. More...
 
NXOpen::Motion::PostProcessPostProcess ()
 Returns the NXOpen::Motion::PostProcess belonging to this part
Created in NX7.5.0. More...
 
void ReparentSimulation (const NXString &motionSimFullName, const NXString &destinationDirectory)
 Reparent the Simulation. More...
 
void ReparentSimulation (const char *motionSimFullName, const char *destinationDirectory)
 Reparent the Simulation. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents motion session
To obtain an instance of this class, refer to NXOpen::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 NXOpen::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 NXOpen::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 NXOpen::Motion::MotionMethods belonging to this part
Created in NX8.0.0.


NXOpen::Motion::PostProcess* NXOpen::Motion::MotionSession::PostProcess ( )

Returns the NXOpen::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 2012 Siemens Product Lifecycle Management Software Inc. All Rights Reserved.