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

Represents a collection of Driver objects
To obtain an instance of this class, refer to NXOpen::Motion::MotionManager

Created in NX5.0.0. More...

Inheritance diagram for NXOpen::Motion::MotionSolutionCollection:
NXOpen::TaggedObjectCollection

Classes

class  iterator
 Iterator for accessing the contents of the collection. More...
 

Public Member Functions

iterator begin ()
 Returns an iterator addressing the first element. More...
 
NXOpen::Motion::AdvancedSolutionBuilderCreateAdvancedSolutionBuilder (NXOpen::Motion::AdvancedSolution *advancedSolution)
 Creates a NXOpen::Motion::AdvancedSolution. More...
 
NXOpen::Motion::MotionSolutionBuilderCreateSolutionBuilder (NXOpen::Motion::MotionSolution *solution)
 Creates an NXOpen::Motion::MotionSolutionBuilder . More...
 
void DeleteSolution (NXOpen::Motion::MotionSolution *tSolution, bool ifDeleteResult)
 Delete the NXOpen::Motion::MotionSolution object of current session. More...
 
iterator end ()
 Returns an iterator addressing one past the last element. More...
 
NXOpen::Motion::MotionSolutionFindObject (const NXString &name)
 Finds the NXOpen::Motion::MotionSolution object with the given name. More...
 
NXOpen::Motion::MotionSolutionFindObject (const char *name)
 Finds the NXOpen::Motion::MotionSolution object with the given name. More...
 
NXOpen::Motion::MotionSolutionGetActiveSolution ()
 Get the active NXOpen::Motion::MotionSolution object of current session. More...
 
void SetActiveSolution (NXOpen::Motion::MotionSolution *activeSolution)
 Set the active NXOpen::Motion::MotionSolution object of current session. More...
 
tag_t Tag () const
 Returns the tag of this object. More...
 

Detailed Description

Represents a collection of Driver objects
To obtain an instance of this class, refer to NXOpen::Motion::MotionManager

Created in NX5.0.0.


Member Function Documentation

iterator NXOpen::Motion::MotionSolutionCollection::begin ( )

Returns an iterator addressing the first element.

NXOpen::Motion::AdvancedSolutionBuilder* NXOpen::Motion::MotionSolutionCollection::CreateAdvancedSolutionBuilder ( NXOpen::Motion::AdvancedSolution advancedSolution)

Creates a NXOpen::Motion::AdvancedSolution.

Returns
AdvancedSolutionBuilder object
Created in NX12.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
advancedSolutionNXOpen::Motion::AdvancedSolution to be edited
NXOpen::Motion::MotionSolutionBuilder* NXOpen::Motion::MotionSolutionCollection::CreateSolutionBuilder ( NXOpen::Motion::MotionSolution solution)

Creates an NXOpen::Motion::MotionSolutionBuilder .

This class is used to construct an NXOpen::Motion::MotionSolution object.

Returns

Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
solution"NXOpen::Motion::MotionSolution to be edited, if NULL then create a new one
void NXOpen::Motion::MotionSolutionCollection::DeleteSolution ( NXOpen::Motion::MotionSolution tSolution,
bool  ifDeleteResult 
)

Delete the NXOpen::Motion::MotionSolution object of current session.


Created in NX11.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
tSolutionthe NXOpen::Motion::MotionSolution object to be deleted
ifDeleteResultDelete the result files if it is true
iterator NXOpen::Motion::MotionSolutionCollection::end ( )

Returns an iterator addressing one past the last element.

NXOpen::Motion::MotionSolution* NXOpen::Motion::MotionSolutionCollection::FindObject ( const NXString name)

Finds the NXOpen::Motion::MotionSolution object with the given name.

An exception will be thrown if no object can be found with given name.

Returns
NXOpen::Motion::MotionSolution object with this name.
Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
nameName of the Solution object.
NXOpen::Motion::MotionSolution* NXOpen::Motion::MotionSolutionCollection::FindObject ( const char *  name)

Finds the NXOpen::Motion::MotionSolution object with the given name.

An exception will be thrown if no object can be found with given name.

Returns
NXOpen::Motion::MotionSolution object with this name.
Created in NX5.0.0.

License requirements : mechanisms ("MECHANISMS")
Parameters
nameName of the Solution object.
NXOpen::Motion::MotionSolution* NXOpen::Motion::MotionSolutionCollection::GetActiveSolution ( )

Get the active NXOpen::Motion::MotionSolution object of current session.

Returns
the active solutionNXOpen::Motion::MotionSolution
Created in NX9.0.0.

License requirements : mechanisms ("MECHANISMS")
void NXOpen::Motion::MotionSolutionCollection::SetActiveSolution ( NXOpen::Motion::MotionSolution activeSolution)

Set the active NXOpen::Motion::MotionSolution object of current session.


Created in NX9.0.0.

License requirements : mechanisms ("MECHANISMS")

Parameters
activeSolutionthe active solution NXOpen::Motion::MotionSolution
tag_t NXOpen::Motion::MotionSolutionCollection::Tag ( ) const

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.