Search Results for

    Show / Hide Table of Contents

    Class Selection

    Inheritance
    System.Object
    System.MarshalByRefObject
    NXRemotableObject
    Selection
    Implements
    System.Runtime.Remoting.Messaging.IMessageSink
    Inherited Members
    NXRemotableObject.initialize()
    NXRemotableObject.SyncProcessMessage(IMessage)
    NXRemotableObject.AsyncProcessMessage(IMessage, IMessageSink)
    NXRemotableObject.NextSink
    System.MarshalByRefObject.CreateObjRef(System.Type)
    System.MarshalByRefObject.GetLifetimeService()
    System.MarshalByRefObject.InitializeLifetimeService()
    System.MarshalByRefObject.MemberwiseClone(System.Boolean)
    System.Object.Equals(System.Object)
    System.Object.Equals(System.Object, System.Object)
    System.Object.GetHashCode()
    System.Object.GetType()
    System.Object.MemberwiseClone()
    System.Object.ToString()
    System.Object.ReferenceEquals(System.Object, System.Object)
    Namespace: NXOpen
    Assembly: NXOpenUI.dll
    Syntax
    public class Selection : NXRemotableObject, IMessageSink

    Constructors

    Selection(UI)

    Declaration
    protected Selection(UI owner)
    Parameters
    Type Name Description
    UI owner

    Properties

    Tag

    Declaration
    public Tag Tag { get; }
    Property Value
    Type Description
    Tag

    Methods

    AddToSelectionList(SelectionHandle, NXObject[], Boolean)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.AddToTaggedObjectsSelectionList instead")]
    public void AddToSelectionList(SelectionHandle select, NXObject[] objs, bool highlightFlag)
    Parameters
    Type Name Description
    SelectionHandle select
    NXObject[] objs
    System.Boolean highlightFlag

    AddToTaggedObjectsSelectionList(SelectionHandle, TaggedObject[], Boolean)

    Declaration
    public void AddToTaggedObjectsSelectionList(SelectionHandle select, TaggedObject[] objs, bool highlightFlag)
    Parameters
    Type Name Description
    SelectionHandle select
    TaggedObject[] objs
    System.Boolean highlightFlag

    AskSelectionCursorPosition(SelectionHandle, out View)

    Declaration
    public Point3d AskSelectionCursorPosition(SelectionHandle select, out View view)
    Parameters
    Type Name Description
    SelectionHandle select
    View view
    Returns
    Type Description
    Point3d

    AskSelectionDescriptor(SelectionHandle)

    Declaration
    public Selection.SelectionDescriptor AskSelectionDescriptor(SelectionHandle select)
    Parameters
    Type Name Description
    SelectionHandle select
    Returns
    Type Description
    Selection.SelectionDescriptor

    AskSelectionListCount(SelectionHandle)

    Declaration
    public int AskSelectionListCount(SelectionHandle select)
    Parameters
    Type Name Description
    SelectionHandle select
    Returns
    Type Description
    System.Int32

    AskSelectionObjectList(SelectionHandle, out NXObject[])

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.AskSelectionTaggedObjectList instead")]
    public void AskSelectionObjectList(SelectionHandle select, out NXObject[] objects)
    Parameters
    Type Name Description
    SelectionHandle select
    NXObject[] objects

    AskSelectionRectanglePosition(SelectionHandle, out Point3d, out Point3d, out Point3d, out Point3d)

    Declaration
    public View AskSelectionRectanglePosition(SelectionHandle select, out Point3d position1, out Point3d position2, out Point3d position3, out Point3d position4)
    Parameters
    Type Name Description
    SelectionHandle select
    Point3d position1
    Point3d position2
    Point3d position3
    Point3d position4
    Returns
    Type Description
    View

    AskSelectionTaggedObjectList(SelectionHandle, out TaggedObject[])

    Declaration
    public void AskSelectionTaggedObjectList(SelectionHandle select, out TaggedObject[] objects)
    Parameters
    Type Name Description
    SelectionHandle select
    TaggedObject[] objects

    ClearGlobalSelectionList()

    Declaration
    public void ClearGlobalSelectionList()

    CreateSelectionSubscriber()

    Declaration
    public SelectionSubscriber CreateSelectionSubscriber()
    Returns
    Type Description
    SelectionSubscriber

    GetNumSelectedObjects()

    Declaration
    public int GetNumSelectedObjects()
    Returns
    Type Description
    System.Int32

    GetSelectedObject(Int32)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.GetSelectedTaggedObject instead")]
    public NXObject GetSelectedObject(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    NXObject

    GetSelectedTaggedObject(Int32)

    Declaration
    public TaggedObject GetSelectedTaggedObject(int index)
    Parameters
    Type Name Description
    System.Int32 index
    Returns
    Type Description
    TaggedObject

    GetSelectionStatusOfUserDefinedClass(UserDefinedClass)

    Declaration
    public bool GetSelectionStatusOfUserDefinedClass(UserDefinedClass udoClass)
    Parameters
    Type Name Description
    UserDefinedClass udoClass
    Returns
    Type Description
    System.Boolean

    IsGlobalSelectionActive()

    Declaration
    public bool IsGlobalSelectionActive()
    Returns
    Type Description
    System.Boolean

    IsObjectInSelectionList(SelectionHandle, TaggedObject)

    Declaration
    public bool IsObjectInSelectionList(SelectionHandle select, TaggedObject object)
    Parameters
    Type Name Description
    SelectionHandle select
    TaggedObject object
    Returns
    Type Description
    System.Boolean

    RemoveAllFromSelectionList(SelectionHandle, Boolean)

    Declaration
    public void RemoveAllFromSelectionList(SelectionHandle select, bool unhighlight)
    Parameters
    Type Name Description
    SelectionHandle select
    System.Boolean unhighlight

    RemoveFromSelectionList(SelectionHandle, NXObject[], Boolean)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.RemoveTaggedObjectsFromSelectionList instead")]
    public void RemoveFromSelectionList(SelectionHandle select, NXObject[] objs, bool unhighlight)
    Parameters
    Type Name Description
    SelectionHandle select
    NXObject[] objs
    System.Boolean unhighlight

    RemoveTaggedObjectsFromSelectionList(SelectionHandle, TaggedObject[], Boolean)

    Declaration
    public void RemoveTaggedObjectsFromSelectionList(SelectionHandle select, TaggedObject[] objs, bool unhighlight)
    Parameters
    Type Name Description
    SelectionHandle select
    TaggedObject[] objs
    System.Boolean unhighlight

    RequestDeselections(TaggedObject[])

    Declaration
    public void RequestDeselections(TaggedObject[] deselectList)
    Parameters
    Type Name Description
    TaggedObject[] deselectList

    RequestSelections(TaggedObject[])

    Declaration
    public void RequestSelections(TaggedObject[] selectList)
    Parameters
    Type Name Description
    TaggedObject[] selectList

    ResetEnabledGlobalFilterMembers()

    Declaration
    public void ResetEnabledGlobalFilterMembers()

    SelectFeatures(String, Selection.SelectionFeatureType, out Feature[])

    Declaration
    public Selection.Response SelectFeatures(string message, Selection.SelectionFeatureType featType, out Feature[] featureArray)
    Parameters
    Type Name Description
    System.String message
    Selection.SelectionFeatureType featType
    Feature[] featureArray
    Returns
    Type Description
    Selection.Response

    SelectObject(String, String, Selection.SelectionScope, Selection.SelectionAction, Boolean, Boolean, Selection.MaskTriple[], out NXObject, out Point3d)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.SelectTaggedObject instead")]
    public Selection.Response SelectObject(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, Selection.MaskTriple[] maskArray, out NXObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    Selection.MaskTriple[] maskArray
    NXObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectObject(String, String, Selection.SelectionScope, Boolean, Selection.SelectionType[], out NXObject, out Point3d)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.SelectTaggedObject instead")]
    public Selection.Response SelectObject(string message, string title, Selection.SelectionScope scope, bool keepHighlighted, Selection.SelectionType[] typeArray, out NXObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean keepHighlighted
    Selection.SelectionType[] typeArray
    NXObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectObject(String, String, Selection.SelectionScope, Boolean, Boolean, out NXObject, out Point3d)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.SelectTaggedObject instead")]
    public Selection.Response SelectObject(string message, string title, Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out NXObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    NXObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectObjects(String, String, Selection.SelectionScope, Selection.SelectionAction, Boolean, Boolean, Selection.MaskTriple[], out NXObject[])

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.SelectTaggedObject instead")]
    public Selection.Response SelectObjects(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, Selection.MaskTriple[] maskArray, out NXObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    Selection.MaskTriple[] maskArray
    NXObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectObjects(String, String, Selection.SelectionScope, Boolean, Selection.SelectionType[], out NXObject[])

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.SelectTaggedObject instead")]
    public Selection.Response SelectObjects(string message, string title, Selection.SelectionScope scope, bool keepHighlighted, Selection.SelectionType[] typeArray, out NXObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean keepHighlighted
    Selection.SelectionType[] typeArray
    NXObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectObjects(String, String, Selection.SelectionScope, Boolean, Boolean, out NXObject[])

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use Selection.SelectTaggedObjects instead")]
    public Selection.Response SelectObjects(string message, string title, Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out NXObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    NXObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectScreenPosition(String, out View, out Point3d)

    Declaration
    public Selection.DialogResponse SelectScreenPosition(string message, out View object, out Point3d screenPosition)
    Parameters
    Type Name Description
    System.String message
    View object
    Point3d screenPosition
    Returns
    Type Description
    Selection.DialogResponse

    SelectTaggedObject(String, String, Selection.SelectionScope, Selection.SelectionAction, Boolean, Boolean, Selection.MaskTriple[], out TaggedObject, out Point3d)

    Declaration
    public Selection.Response SelectTaggedObject(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, Selection.MaskTriple[] maskArray, out TaggedObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    Selection.MaskTriple[] maskArray
    TaggedObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectTaggedObject(String, String, Selection.SelectionScope, Boolean, Selection.SelectionType[], out TaggedObject, out Point3d)

    Declaration
    public Selection.Response SelectTaggedObject(string message, string title, Selection.SelectionScope scope, bool keepHighlighted, Selection.SelectionType[] typeArray, out TaggedObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean keepHighlighted
    Selection.SelectionType[] typeArray
    TaggedObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectTaggedObject(String, String, Selection.SelectionScope, Boolean, Boolean, out TaggedObject, out Point3d)

    Declaration
    public Selection.Response SelectTaggedObject(string message, string title, Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out TaggedObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    TaggedObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjects(String, String, Selection.SelectionScope, Selection.SelectionAction, Boolean, Boolean, Selection.MaskTriple[], out TaggedObject[])

    Declaration
    public Selection.Response SelectTaggedObjects(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, Selection.MaskTriple[] maskArray, out TaggedObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    Selection.MaskTriple[] maskArray
    TaggedObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjects(String, String, Selection.SelectionScope, Boolean, Selection.SelectionType[], out TaggedObject[])

    Declaration
    public Selection.Response SelectTaggedObjects(string message, string title, Selection.SelectionScope scope, bool keepHighlighted, Selection.SelectionType[] typeArray, out TaggedObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean keepHighlighted
    Selection.SelectionType[] typeArray
    TaggedObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjects(String, String, Selection.SelectionScope, Boolean, Boolean, out TaggedObject[])

    Declaration
    public Selection.Response SelectTaggedObjects(string message, string title, Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out TaggedObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    System.Boolean includeFeatures
    System.Boolean keepHighlighted
    TaggedObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjectsWithFilterCallback(String, String, Selection.SelectionScope, Selection.SelectionAction, FilterMember[], Selection.FilterTaggedObject, out TaggedObject[])

    Declaration
    public Selection.Response SelectTaggedObjectsWithFilterCallback(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, FilterMember[] filterMembers, Selection.FilterTaggedObject filterCallback, out TaggedObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    FilterMember[] filterMembers
    Selection.FilterTaggedObject filterCallback
    TaggedObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjectsWithFilterMembers(String, String, Selection.SelectionScope, Selection.SelectionAction, FilterMember[], out TaggedObject[])

    Declaration
    public Selection.Response SelectTaggedObjectsWithFilterMembers(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, FilterMember[] filterMembers, out TaggedObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    FilterMember[] filterMembers
    TaggedObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjectsWithFullFiltering(String, String, Selection.SelectionScope, Selection.SelectionAction, FilterMember[], FilterMember[], Selection.FilterTaggedObject, out TaggedObject[])

    Declaration
    public Selection.Response SelectTaggedObjectsWithFullFiltering(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, FilterMember[] supportedFilterMembers, FilterMember[] initialFilterMembers, Selection.FilterTaggedObject filterCallback, out TaggedObject[] objectArray)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    FilterMember[] supportedFilterMembers
    FilterMember[] initialFilterMembers
    Selection.FilterTaggedObject filterCallback
    TaggedObject[] objectArray
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjectWithFilterCallback(String, String, Selection.SelectionScope, Selection.SelectionAction, FilterMember[], Selection.FilterTaggedObject, out TaggedObject, out Point3d)

    Declaration
    public Selection.Response SelectTaggedObjectWithFilterCallback(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, FilterMember[] filterMembers, Selection.FilterTaggedObject filterCallback, out TaggedObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    FilterMember[] filterMembers
    Selection.FilterTaggedObject filterCallback
    TaggedObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjectWithFilterMembers(String, String, Selection.SelectionScope, Selection.SelectionAction, FilterMember[], out TaggedObject, out Point3d)

    Declaration
    public Selection.Response SelectTaggedObjectWithFilterMembers(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, FilterMember[] filterMembers, out TaggedObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    FilterMember[] filterMembers
    TaggedObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SelectTaggedObjectWithFullFiltering(String, String, Selection.SelectionScope, Selection.SelectionAction, FilterMember[], FilterMember[], Selection.FilterTaggedObject, out TaggedObject, out Point3d)

    Declaration
    public Selection.Response SelectTaggedObjectWithFullFiltering(string message, string title, Selection.SelectionScope scope, Selection.SelectionAction action, FilterMember[] supportedFilterMembers, FilterMember[] initialFilterMembers, Selection.FilterTaggedObject filterCallback, out TaggedObject object, out Point3d cursor)
    Parameters
    Type Name Description
    System.String message
    System.String title
    Selection.SelectionScope scope
    Selection.SelectionAction action
    FilterMember[] supportedFilterMembers
    FilterMember[] initialFilterMembers
    Selection.FilterTaggedObject filterCallback
    TaggedObject object
    Point3d cursor
    Returns
    Type Description
    Selection.Response

    SetEnabledGlobalFilterMember(FilterMember)

    Declaration
    public void SetEnabledGlobalFilterMember(FilterMember filterMember)
    Parameters
    Type Name Description
    FilterMember filterMember

    SetEnabledGlobalFilterMembers(FilterMember[])

    Declaration
    public void SetEnabledGlobalFilterMembers(FilterMember[] filterMembers)
    Parameters
    Type Name Description
    FilterMember[] filterMembers

    SetSelectionCallbacks(SelectionHandle, Selection.FilterCallback, Selection.SelectionCallback)

    Declaration
    [Obsolete("Deprecated in NX8.0.0.  Use NXOpen.Selection.SetTaggedObjectSelectionCallbacks instead")]
    public void SetSelectionCallbacks(SelectionHandle select, Selection.FilterCallback filterproc, Selection.SelectionCallback selcb)
    Parameters
    Type Name Description
    SelectionHandle select
    Selection.FilterCallback filterproc
    Selection.SelectionCallback selcb

    SetSelectionMask(SelectionHandle, Selection.SelectionAction, Selection.MaskTriple[])

    Declaration
    public void SetSelectionMask(SelectionHandle select, Selection.SelectionAction action, Selection.MaskTriple[] maskArray)
    Parameters
    Type Name Description
    SelectionHandle select
    Selection.SelectionAction action
    Selection.MaskTriple[] maskArray

    SetSelectionStatusOfUserDefinedClass(UserDefinedClass, Boolean)

    Declaration
    public void SetSelectionStatusOfUserDefinedClass(UserDefinedClass udoClass, bool selectionStatus)
    Parameters
    Type Name Description
    UserDefinedClass udoClass
    System.Boolean selectionStatus

    SetSelectType(SelectionHandle, Selection.UistylerSelectionType)

    Declaration
    public void SetSelectType(SelectionHandle select, Selection.UistylerSelectionType type)
    Parameters
    Type Name Description
    SelectionHandle select
    Selection.UistylerSelectionType type

    SetTaggedObjectSelectionCallbacks(SelectionHandle, Selection.FilterTaggedObjectCallback, Selection.TaggedObjectSelectionCallback)

    Declaration
    public void SetTaggedObjectSelectionCallbacks(SelectionHandle select, Selection.FilterTaggedObjectCallback filterproc, Selection.TaggedObjectSelectionCallback selcb)
    Parameters
    Type Name Description
    SelectionHandle select
    Selection.FilterTaggedObjectCallback filterproc
    Selection.TaggedObjectSelectionCallback selcb

    Implements

    System.Runtime.Remoting.Messaging.IMessageSink
    In This Article
    Back to top Generated by DocFX