NXOpen .NET Reference  12.0.0
Public Member Functions | Properties | List of all members
NXOpen.Motion.MotionSession Class Reference

Represents motion session More...

Inheritance diagram for NXOpen.Motion.MotionSession:

Public Member Functions

unsafe string CloneSimulation (NXOpen.NXObject masterPart, string motionSimName)
 Clones the Simulation. More...
 
unsafe void DeleteSimulation (NXOpen.NXObject masterPart, string motionSimName)
 Deletes the Simulation. More...
 
unsafe string CreateSimulation (NXOpen.NXObject masterPart)
 Creates the Simulation. More...
 
unsafe string CreateNamingSimulation (NXOpen.NXObject masterPart, string inputSimName)
 Creates the Non-master Simulation in NX Manager mode with an input name. More...
 
unsafe void DirectOpenSimulation (string motionSimName)
 Opens the Simulation directly. More...
 
unsafe void ReparentSimulation (string motionSimFullName, string destinationDirectory)
 Reparents the Simulation. More...
 
unsafe void InitializeMechanisms ()
 Initializes the mech More...
 
unsafe void InitializeSimulation (NXOpen.Part simulationPart)
 Initializes the motion simulation context for the loaded motion part More...
 
unsafe NXOpen.NXObject ConstraintsToMotionObject (NXOpen.NXObject scenarioPart, NXOpen.NXObject masterPart)
 Converts mating conditions and constraints to links and joints More...
 
unsafe NXOpen.NXObject FixLinkToGround (NXOpen.NXObject link)
 Fixes the link to ground More...
 
unsafe string[] GetScenarioNames (NXOpen.NXObject masterPart)
 Gets all scenario names from motion subfolder of master part More...
 
unsafe string GetFullName (NXOpen.NXObject masterPart, string scenarioName)
 Gets the full name for a scenario name, which is located in motion subfolder of master part More...
 
unsafe
NXOpen.Motion.PhysicsConversionBuilder 
CreatePhysicsConversionBuilder (NXOpen.NXObject scenarioPart)
 Creates a NXOpen.Motion.PhysicsConversionBuilder More...
 
unsafe void ExportProcessSimulateKinematics ()
 Exports kinematics for Process Simulate More...
 
unsafe NXOpen.NXObject[] GetReferencingMotionObjects (NXOpen.NXObject scenarioPart, NXOpen.NXObject originObject)
 Gets the referencing motion objects. More...
 
unsafe NXOpen.NXObject[] GetReferencedMotionObjects (NXOpen.NXObject scenarioPart, NXOpen.NXObject originObject)
 Gets the referenced motion objects. More...
 
unsafe
NXOpen.Motion.MotionFunction[] 
GetReferencingFunctions (NXOpen.NXObject scenarioPart, NXOpen.NXObject originObject)
 Gets the referencing functions More...
 
unsafe
NXOpen.Motion.MotionFunction[] 
GetReferencedFunctions (NXOpen.NXObject scenarioPart, NXOpen.NXObject originObject)
 Gets the referenced functions More...
 
unsafe NXOpen.NXObject[] GetFunctionReferencingMotionObjects (NXOpen.NXObject scenarioPart, NXOpen.Motion.MotionFunction funcObject)
 Gets function referencing motion objects. More...
 
unsafe NXOpen.NXObject[] GetFunctionReferencedMotionObjects (NXOpen.NXObject scenarioPart, NXOpen.Motion.MotionFunction funcObject)
 Gets function referenced motion objects. More...
 

Properties

Tag Tag [get]
 Returns the tag of this object. More...
 
NXOpen.Motion.MotionEnvironment Environments [get]
 Returns the NXOpen.Motion.MotionEnvironment belonging to this part More...
 
NXOpen.Motion.PostProcess PostProcess [get]
 Returns the NXOpen.Motion.PostProcess belonging to this part More...
 
NXOpen.Motion.MotionMethods MotionMethods [get]
 Returns the NXOpen.Motion.MotionMethods belonging to this part More...
 
NXOpen.Motion.MechanismImport MechanismImport [get]
 Returns the NXOpen.Motion.MechanismImport object belonging to this part More...
 
NXOpen.Motion.MechanismExport MechanismExport [get]
 Returns the NXOpen.Motion.MechanismExport object belonging to this part 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

unsafe string NXOpen.Motion.MotionSession.CloneSimulation ( NXOpen.NXObject  masterPart,
string  motionSimName 
)

Clones the Simulation.

Created in NX5.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
masterPartthe master part
motionSimNamemotion simulation part which ready to be cloned
Returns
new motion simulation part name
unsafe NXOpen.NXObject NXOpen.Motion.MotionSession.ConstraintsToMotionObject ( NXOpen.NXObject  scenarioPart,
NXOpen.NXObject  masterPart 
)

Converts mating conditions and constraints to links and joints

Created in NX6.0.1

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPartthe scenario part object
masterPartthe master part object
Returns
the link which will be fixed to ground
unsafe string NXOpen.Motion.MotionSession.CreateNamingSimulation ( NXOpen.NXObject  masterPart,
string  inputSimName 
)

Creates the Non-master Simulation in NX Manager mode with an input name.

Created in NX8.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
masterPartthe master_part
inputSimNamethe input simulation name
Returns
the created motion simulation part name
unsafe NXOpen.Motion.PhysicsConversionBuilder NXOpen.Motion.MotionSession.CreatePhysicsConversionBuilder ( NXOpen.NXObject  scenarioPart)

Creates a NXOpen.Motion.PhysicsConversionBuilder

Created in NX8.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
Returns
unsafe string NXOpen.Motion.MotionSession.CreateSimulation ( NXOpen.NXObject  masterPart)

Creates the Simulation.

Created in NX5.0.0

Deprecated in NX12.0.0. Use NXOpen.FileNew and NXOpen.Motion.MotionSession.InitializeSimulation

License requirements: mechanisms ("MECHANISMS")

Parameters
masterPartthe master_part
Returns
created motion simulation part name
unsafe void NXOpen.Motion.MotionSession.DeleteSimulation ( NXOpen.NXObject  masterPart,
string  motionSimName 
)

Deletes the Simulation.

Created in NX5.0.0

Deprecated in NX12.0.0. Removed without replacement.

License requirements: mechanisms ("MECHANISMS")

Parameters
masterPartthe master_part
motionSimNamemotion simulation part which ready to be deleted
unsafe void NXOpen.Motion.MotionSession.DirectOpenSimulation ( string  motionSimName)

Opens the Simulation directly.

Created in NX5.0.0

Deprecated in NX12.0.0. Use NXOpen.PartCollection.OpenDisplay and NXOpen.Motion.MotionSession.InitializeSimulation

License requirements: mechanisms ("MECHANISMS")

Parameters
motionSimNamemotion simulation part name
unsafe void NXOpen.Motion.MotionSession.ExportProcessSimulateKinematics ( )

Exports kinematics for Process Simulate

Created in NX8.5.0

License requirements: mechanisms ("MECHANISMS")

unsafe NXOpen.NXObject NXOpen.Motion.MotionSession.FixLinkToGround ( NXOpen.NXObject  link)

Fixes the link to ground

Created in NX6.0.1

License requirements: mechanisms ("MECHANISMS")

Parameters
linkthe link object
Returns
the joint object created
unsafe string NXOpen.Motion.MotionSession.GetFullName ( NXOpen.NXObject  masterPart,
string  scenarioName 
)

Gets the full name for a scenario name, which is located in motion subfolder of master part

Created in NX7.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
masterPartthe master part object
scenarioNamescenario name to check (with or without extension)
Returns
full path to the file
unsafe NXOpen.NXObject [] NXOpen.Motion.MotionSession.GetFunctionReferencedMotionObjects ( NXOpen.NXObject  scenarioPart,
NXOpen.Motion.MotionFunction  funcObject 
)

Gets function referenced motion objects.

Created in NX11.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
funcObject
Returns
The referenced motion objects
unsafe NXOpen.NXObject [] NXOpen.Motion.MotionSession.GetFunctionReferencingMotionObjects ( NXOpen.NXObject  scenarioPart,
NXOpen.Motion.MotionFunction  funcObject 
)

Gets function referencing motion objects.

Created in NX11.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
funcObject
Returns
The referencing motion objects
unsafe NXOpen.Motion.MotionFunction [] NXOpen.Motion.MotionSession.GetReferencedFunctions ( NXOpen.NXObject  scenarioPart,
NXOpen.NXObject  originObject 
)

Gets the referenced functions

Created in NX11.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
originObjectNon-function motion object.
Returns
The referenced functions
unsafe NXOpen.NXObject [] NXOpen.Motion.MotionSession.GetReferencedMotionObjects ( NXOpen.NXObject  scenarioPart,
NXOpen.NXObject  originObject 
)

Gets the referenced motion objects.

Created in NX11.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
originObjectNon-function motion object. For function, please use Motion.MotionSession.GetReferencedMotionObjects .
Returns
The referenced motion objects
unsafe NXOpen.Motion.MotionFunction [] NXOpen.Motion.MotionSession.GetReferencingFunctions ( NXOpen.NXObject  scenarioPart,
NXOpen.NXObject  originObject 
)

Gets the referencing functions

Created in NX11.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
originObjectNon-function motion object.
Returns
The referencing functions
unsafe NXOpen.NXObject [] NXOpen.Motion.MotionSession.GetReferencingMotionObjects ( NXOpen.NXObject  scenarioPart,
NXOpen.NXObject  originObject 
)

Gets the referencing motion objects.

Created in NX11.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
scenarioPart
originObjectNon-function motion object. For function, please use Motion.MotionSession.GetReferencingMotionObjects .
Returns
The referencing motion objects.
unsafe string [] NXOpen.Motion.MotionSession.GetScenarioNames ( NXOpen.NXObject  masterPart)

Gets all scenario names from motion subfolder of master part

Created in NX7.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
masterPartthe master part object
Returns
scenario names
unsafe void NXOpen.Motion.MotionSession.InitializeMechanisms ( )

Initializes the mech

Created in NX6.0.0

Deprecated in NX12.0.0. Use NXOpen.Motion.MotionSession.InitializeSimulation

License requirements: mechanisms ("MECHANISMS")

unsafe void NXOpen.Motion.MotionSession.InitializeSimulation ( NXOpen.Part  simulationPart)

Initializes the motion simulation context for the loaded motion part

Created in NX12.0.0

License requirements: mechanisms ("MECHANISMS")

Parameters
simulationPartthe loaded motion simulation part
unsafe void NXOpen.Motion.MotionSession.ReparentSimulation ( string  motionSimFullName,
string  destinationDirectory 
)

Reparents the Simulation.

Created in NX5.0.0

Deprecated in NX12.0.0. Removed without replacement.

License requirements: mechanisms ("MECHANISMS")

Parameters
motionSimFullNamemotion simulation full name
destinationDirectorydestination directory

Property Documentation

NXOpen.Motion.MotionEnvironment NXOpen.Motion.MotionSession.Environments
get

Returns the NXOpen.Motion.MotionEnvironment belonging to this part

Created in NX7.5.0

NXOpen.Motion.MechanismExport NXOpen.Motion.MotionSession.MechanismExport
get

Returns the NXOpen.Motion.MechanismExport object belonging to this part

Created in NX12.0.0

NXOpen.Motion.MechanismImport NXOpen.Motion.MotionSession.MechanismImport
get

Returns the NXOpen.Motion.MechanismImport object belonging to this part

Created in NX12.0.0

NXOpen.Motion.MotionMethods NXOpen.Motion.MotionSession.MotionMethods
get

Returns the NXOpen.Motion.MotionMethods belonging to this part

Created in NX8.0.0

NXOpen.Motion.PostProcess NXOpen.Motion.MotionSession.PostProcess
get

Returns the NXOpen.Motion.PostProcess belonging to this part

Created in NX7.5.0

Tag NXOpen.Motion.MotionSession.Tag
get

Returns the tag of this object.


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