SelectionMethod Class

class NXOpen.SelectionMethod

Bases: NXOpen.TransientObject

Represents the output from a smart selector method

This is an abstract class, and cannot be created.

New in version NX6.0.0.

Methods

Method Description
Dispose Frees the object from memory.
GetSelectedObjects Returns the objects selected by this NXOpen.SelectionMethod.

Method Detail

Dispose

SelectionMethod.Dispose

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Signature Dispose()

New in version NX6.0.0.

License requirements: None.

GetSelectedObjects

SelectionMethod.GetSelectedObjects

Returns the objects selected by this NXOpen.SelectionMethod.

Signature GetSelectedObjects()

Returns:items in list
Return type:list of NXOpen.TaggedObject

New in version NX10.0.0.

License requirements: None.