NX Open C++ Reference Guide
Public Member Functions
NXOpen::Motion::MotionSession Class Reference

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

Created in NX5.0.0. More...

List of all members.

Public Member Functions

NXString CloneSimulation (NXOpen::NXObject *masterPart, const NXString &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.
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 DirectOpenSimulation (const NXString &motionSimName)
 Direct open the Simulation.
NXOpen::Motion::MotionEnvironmentEnvironments ()
 Returns the Motion::MotionEnvironment belonging to this part
Created in NX7.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.
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.
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

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.

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

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.

Creates a Motion::PhysicsConversionBuilder.

Returns:

Created in NX8.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters:
scenarioPartscenario part

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.

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.

Returns the Motion::MotionEnvironment belonging to this part
Created in NX7.5.0.


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.

Get all scenario names.

Returns:
scenario names
Created in NX7.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters:
masterPartthe master part object

Initialize the mech
Created in NX6.0.0.



License requirements : mechanisms ("MECHANISMS")

Returns the Motion::MotionMethods belonging to this part
Created in NX8.0.0.


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.

Returns the tag of this object.


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