NXOpen .NET Reference
12.0.0
|
Defines a SelectionSubscriber for managing selection events More...
Classes | |
class | _SelectionSubscriberOnSelectionChangeCallbackAdapter |
Public Member Functions | |
delegate void | OnSelectionChangeCallback (bool clearAll, NXOpen.TaggedObject[] deselectedObjects, NXOpen.TaggedObject[] selectedObjects) |
Prototype for a callback which is called at the end of a series of changes to the set of selected objects. More... | |
unsafe void | Activate () |
Activate the subscriber so that it will receive selection change notifications. More... | |
unsafe void | Deactivate () |
Deactivate the subscriber so that it will not receive selection change notifications. More... | |
unsafe bool | IsActive () |
Is the subscriber active? More... | |
unsafe void | RegisterOnSelectionChangeCallback (NXOpen.SelectionSubscriber.OnSelectionChangeCallback callbackToRegister) |
Register a callback which is called at the end of a series of changes to the set of selected objects. More... | |
Protected Member Functions | |
override void | FreeResource () |
Releases resources allocated by the selection subscriber. More... | |
Defines a SelectionSubscriber for managing selection events
To create a new instance of this class, use NXOpen.Selection.CreateSelectionSubscriber
Created in NX11.0.0
unsafe void NXOpen.SelectionSubscriber.Activate | ( | ) |
Activate the subscriber so that it will receive selection change notifications.
Created in NX11.0.0
License requirements: None.
unsafe void NXOpen.SelectionSubscriber.Deactivate | ( | ) |
Deactivate the subscriber so that it will not receive selection change notifications.
Created in NX11.0.0
License requirements: None.
|
protected |
Releases resources allocated by the selection subscriber.
Call this method when you are done with your selection operations.
Created in NX11.0.0
License requirements: None.
unsafe bool NXOpen.SelectionSubscriber.IsActive | ( | ) |
Is the subscriber active?
Created in NX11.0.0
License requirements: None.
delegate void NXOpen.SelectionSubscriber.OnSelectionChangeCallback | ( | bool | clearAll, |
NXOpen.TaggedObject[] | deselectedObjects, | ||
NXOpen.TaggedObject[] | selectedObjects | ||
) |
Prototype for a callback which is called at the end of a series of changes to the set of selected objects.
The series of changes are all of the changes which occur as part of the response to a single user action.
Created in NX11.0.0
License requirements: None.
clearAll | If true, all previously selected objects are no longer selected. In this case, the Deselected Objects list will be empty, and the Selected Objects list is the set of objects that are currently selected. |
deselectedObjects | Objects deselected by the user action. |
selectedObjects | Objects selected by the user action. |
unsafe void NXOpen.SelectionSubscriber.RegisterOnSelectionChangeCallback | ( | NXOpen.SelectionSubscriber.OnSelectionChangeCallback | callbackToRegister | ) |
Register a callback which is called at the end of a series of changes to the set of selected objects.
The series of changes are all of the changes which occur as part of the response to a single user action.
Created in NX11.0.0
License requirements: None.
callbackToRegister | Callback |