NXOpen .NET Reference Guide
1899
|
Defines an interface object for executing selection operations More...
Classes | |
class | _SelectionFilterCallbackAdapter |
class | _SelectionFilterTaggedObjectCallbackAdapter |
class | _SelectionSelectionCallbackAdapter |
class | _SelectionTaggedObjectSelectionCallbackAdapter |
struct | MaskTriple |
Used in selection methods to set the types of objects that are selectable. More... | |
struct | SelectionDescriptor |
For a rectangle deselection, the fields Deselection , MultipleSelection , Rectangle bits would be set. More... | |
Public Member Functions | |
unsafe void | AddToSelectionList (NXOpen.SelectionHandle select, NXOpen.NXObject[] objs, bool highlightFlag) |
Add objects to the selection list. More... | |
unsafe void | AddToTaggedObjectsSelectionList (NXOpen.SelectionHandle select, NXOpen.TaggedObject[] objs, bool highlightFlag) |
Add objects to the selection list. More... | |
unsafe NXOpen.Point3d | AskSelectionCursorPosition (NXOpen.SelectionHandle select, out NXOpen.View view) |
Returns the view and absolute coordinates of the cursor position for the associated selection. More... | |
unsafe NXOpen.Selection.SelectionDescriptor | AskSelectionDescriptor (NXOpen.SelectionHandle select) |
Returns the information in Selection.SelectionDescriptor describing the selection that was just performed. More... | |
unsafe int | AskSelectionListCount (NXOpen.SelectionHandle select) |
Returns the number of objects currently selected. More... | |
unsafe void | AskSelectionObjectList (NXOpen.SelectionHandle select, out NXOpen.NXObject[] objects) |
Returns the number of objects selected and a pointer to an array of tags of the objects selected. More... | |
unsafe NXOpen.View | AskSelectionRectanglePosition (NXOpen.SelectionHandle select, out NXOpen.Point3d position1, out NXOpen.Point3d position2, out NXOpen.Point3d position3, out NXOpen.Point3d position4) |
Returns the absolute coordinates of the rectangle cursor positions. More... | |
unsafe void | AskSelectionTaggedObjectList (NXOpen.SelectionHandle select, out NXOpen.TaggedObject[] objects) |
Returns the number of tagged objects selected and a pointer to an array of tags of the objects selected. More... | |
unsafe void | ClearGlobalSelectionList () |
Clears the Global Selection list More... | |
unsafe NXOpen.SelectionSubscriber | CreateSelectionSubscriber () |
Creates a Selection Subscriber More... | |
delegate int | FilterCallback (NXOpen.NXObject entity, NXOpen.Selection.MaskTriple entityMask, NXOpen.SelectionHandle selectHandle) |
It is an optional callback which the user can provide to perform application specific filtering when selecting objects. More... | |
delegate int | FilterTaggedObjectCallback (NXOpen.TaggedObject entity, NXOpen.Selection.MaskTriple entityMask, NXOpen.SelectionHandle selectHandle) |
It is an optional callback which the user can provide to perform application specific filtering when selecting tagged objects. More... | |
unsafe int | GetNumSelectedObjects () |
Returns the number of objects currently selected More... | |
unsafe NXOpen.NXObject | GetSelectedObject (int index) |
Returns the n'th object on the selection list More... | |
unsafe NXOpen.TaggedObject | GetSelectedTaggedObject (int index) |
Returns the n'th tagged object on the selection list More... | |
unsafe bool | GetSelectionStatusOfUserDefinedClass (NXOpen.UserDefinedObjects.UserDefinedClass udoClass) |
Gets whether or not the user defined class is available for selection. More... | |
unsafe bool | IsGlobalSelectionActive () |
Inquires whether or not Global Selection is active (no active dialog) More... | |
unsafe bool | IsObjectInSelectionList (NXOpen.SelectionHandle select, NXOpen.TaggedObject @object) |
Inquires if object is selected. More... | |
unsafe void | RemoveAllFromSelectionList (NXOpen.SelectionHandle select, bool unhighlight) |
Removes all the objects from the selection list and optionally unhighlights them. More... | |
unsafe void | RemoveFromSelectionList (NXOpen.SelectionHandle select, NXOpen.NXObject[] objs, bool unhighlight) |
Removes objects from the selection list. More... | |
unsafe void | RemoveTaggedObjectsFromSelectionList (NXOpen.SelectionHandle select, NXOpen.TaggedObject[] objs, bool unhighlight) |
Removes tagged objects from the selection list. More... | |
unsafe void | RequestDeselections (NXOpen.TaggedObject[] deselectList) |
Submit a request to the current selection owner to deselect the given objects. More... | |
unsafe void | RequestSelections (NXOpen.TaggedObject[] selectList) |
Submit a request to the current selection owner to select the given objects. More... | |
unsafe NXOpen.Selection.Response | SelectFeatures (string message, NXOpen.Selection.SelectionFeatureType featType, out NXOpen.Features.Feature[] featureArray) |
Select features More... | |
delegate int | SelectionCallback (NXOpen.NXObject[] selectedObjects, NXOpen.NXObject[] deselectedObjects, NXOpen.SelectionHandle selectHandle) |
It is an optional callback which the user can provide to customize his selection More... | |
unsafe NXOpen.Selection.Response | SelectObject (string message, string title, NXOpen.Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out NXOpen.NXObject @object, out NXOpen.Point3d cursor) |
Select single object. More... | |
unsafe NXOpen.Selection.Response | SelectObject (string message, string title, NXOpen.Selection.SelectionScope scope, NXOpen.Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, NXOpen.Selection.MaskTriple[] maskArray, out NXOpen.NXObject @object, out NXOpen.Point3d cursor) |
Select single object using filter defined by mask triples. More... | |
unsafe NXOpen.Selection.Response | SelectObject (string message, string title, NXOpen.Selection.SelectionScope scope, bool keepHighlighted, NXOpen.Selection.SelectionType[] typeArray, out NXOpen.NXObject @object, out NXOpen.Point3d cursor) |
Select single object using filter defined by selection type. More... | |
unsafe NXOpen.Selection.Response | SelectObjects (string message, string title, NXOpen.Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out NXOpen.NXObject[] objectArray) |
Select objects. More... | |
unsafe NXOpen.Selection.Response | SelectObjects (string message, string title, NXOpen.Selection.SelectionScope scope, NXOpen.Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, NXOpen.Selection.MaskTriple[] maskArray, out NXOpen.NXObject[] objectArray) |
Select objects using filter defined by mask triples. More... | |
unsafe NXOpen.Selection.Response | SelectObjects (string message, string title, NXOpen.Selection.SelectionScope scope, bool keepHighlighted, NXOpen.Selection.SelectionType[] typeArray, out NXOpen.NXObject[] objectArray) |
Select objects using filter defined by selection type. More... | |
unsafe NXOpen.Selection.DialogResponse | SelectScreenPosition (string message, out NXOpen.View @object, out NXOpen.Point3d screenPosition) |
Select screen position on graphics display More... | |
unsafe NXOpen.Selection.Response | SelectTaggedObject (string message, string title, NXOpen.Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out NXOpen.TaggedObject @object, out NXOpen.Point3d cursor) |
Select single tagged object. More... | |
unsafe NXOpen.Selection.Response | SelectTaggedObject (string message, string title, NXOpen.Selection.SelectionScope scope, NXOpen.Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, NXOpen.Selection.MaskTriple[] maskArray, out NXOpen.TaggedObject @object, out NXOpen.Point3d cursor) |
Select single tagged object using filter defined by mask triples. More... | |
unsafe NXOpen.Selection.Response | SelectTaggedObject (string message, string title, NXOpen.Selection.SelectionScope scope, bool keepHighlighted, NXOpen.Selection.SelectionType[] typeArray, out NXOpen.TaggedObject @object, out NXOpen.Point3d cursor) |
Select single tagged object using filter defined by selection type. More... | |
unsafe NXOpen.Selection.Response | SelectTaggedObjects (string message, string title, NXOpen.Selection.SelectionScope scope, bool includeFeatures, bool keepHighlighted, out NXOpen.TaggedObject[] objectArray) |
Select tagged objects. More... | |
unsafe NXOpen.Selection.Response | SelectTaggedObjects (string message, string title, NXOpen.Selection.SelectionScope scope, NXOpen.Selection.SelectionAction action, bool includeFeatures, bool keepHighlighted, NXOpen.Selection.MaskTriple[] maskArray, out NXOpen.TaggedObject[] objectArray) |
Select tagged objects using filter defined by mask triples. More... | |
unsafe NXOpen.Selection.Response | SelectTaggedObjects (string message, string title, NXOpen.Selection.SelectionScope scope, bool keepHighlighted, NXOpen.Selection.SelectionType[] typeArray, out NXOpen.TaggedObject[] objectArray) |
Select tagged objects using filter defined by selection type. More... | |
unsafe void | SetSelectionCallbacks (NXOpen.SelectionHandle select, NXOpen.Selection.FilterCallback filterproc, NXOpen.Selection.SelectionCallback selcb) |
Specify selection filter callback for additional filtering based on application specific criteria, and/or selection callback to perform application specific processing for each selection gesture processed. More... | |
unsafe void | SetSelectionMask (NXOpen.SelectionHandle select, NXOpen.Selection.SelectionAction action, NXOpen.Selection.MaskTriple[] maskArray) |
Sets the types of objects that are selectable. More... | |
unsafe void | SetSelectionStatusOfUserDefinedClass (NXOpen.UserDefinedObjects.UserDefinedClass udoClass, bool selectionStatus) |
Sets whether or not the user defined class is available for selection. More... | |
unsafe void | SetSelectType (NXOpen.SelectionHandle select, NXOpen.Selection.UistylerSelectionType type) |
Sets the selection type. More... | |
unsafe void | SetTaggedObjectSelectionCallbacks (NXOpen.SelectionHandle select, NXOpen.Selection.FilterTaggedObjectCallback filterproc, NXOpen.Selection.TaggedObjectSelectionCallback selcb) |
Specify selection filter callback for additional filtering of tagged objects based on application specific criteria, and/or selection callback to perform application specific processing for each selection gesture processed. More... | |
delegate int | TaggedObjectSelectionCallback (NXOpen.TaggedObject[] selectedObjects, NXOpen.TaggedObject[] deselectedObjects, NXOpen.SelectionHandle selectHandle) |
It is an optional callback which the user can provide to customize his selection of tagged objects More... | |
Public Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageCtrl | AsyncProcessMessage (IMessage msg, IMessageSink replySink) |
Asynchronously processes the given message. More... | |
IMessage | SyncProcessMessage (IMessage msg) |
Synchronously processes the given message. More... | |
Properties | |
Tag | Tag [get] |
Returns the tag of this object. More... | |
Properties inherited from NXOpen.Utilities.NXRemotableObject | |
IMessageSink | NextSink [get] |
Gets the next message sink in the sink chain. More... | |
Additional Inherited Members | |
Protected Member Functions inherited from NXOpen.Utilities.NXRemotableObject | |
void | initialize () |
<exclude> More... | |
Defines an interface object for executing selection operations
To obtain an instance of this class, refer to NXOpen.UI
Created in NX3.0.0
Indicates the type of action to perform when an object is selected.
Indicates the scope for selecting objects.
Indicates the general class of object to filter selection.
Indicates the general class of object to filter selection.
|
inline |
Add objects to the selection list.
Any objects already in the selection list are ignored. Use this function with UIStyler dialogs. You can call this from the constructor callback/selection initialization procedure to begin the dialog with objects already selected. The user can then review these objects, and if desired, deselect them.
The application selection callback can also call this function to add other objects to the selection list based on the objects(s) just selected. The selection filter procedure cannot call this function. Based on the object(s) just selected, other objects may need to be selected. For example, all edges of the selected face or all faces tangent to the selected face.
Created in NX5.0.0
Deprecated in NX8.0.0. Use Selection.AddToTaggedObjectsSelectionList instead
License requirements: None.
select | Selection handle |
objs | Objects to be added in the selection list |
highlightFlag | If true, highlight objects |
|
inline |
Add objects to the selection list.
Any objects already in the selection list are ignored. Use this function with UIStyler dialogs. You can call this from the constructor callback/selection initialization procedure to begin the dialog with objects already selected. The user can then review these objects, and if desired, deselect them.
The application selection callback can also call this function to add other objects to the selection list based on the objects(s) just selected. The selection filter procedure cannot call this function. Based on the object(s) just selected, other objects may need to be selected. For example, all edges of the selected face or all faces tangent to the selected face.
Created in NX7.5.4
License requirements: None.
select | Selection handle |
objs | Objects to be added in the selection list |
highlightFlag | If true, highlight objects |
|
inline |
Returns the view and absolute coordinates of the cursor position for the associated selection.
If an object was selected, the view returned is the view in which the object was selected. For single position, the view is the view of the cursor. If the object was selected by name, view = a null reference (Nothing in Visual Basic) and the cursor position is undefined.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
view |
|
inline |
Returns the information in Selection.SelectionDescriptor describing the selection that was just performed.
Created in NX5.0.0
License requirements: None.
select |
|
inline |
Returns the number of objects currently selected.
Use this function with UIStyler dialogs.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
|
inline |
Returns the number of objects selected and a pointer to an array of tags of the objects selected.
Use this function with UIStyler dialogs.
Created in NX5.0.0
Deprecated in NX8.0.0. Use Selection.AskSelectionTaggedObjectList instead
License requirements: None.
select | Selection handle |
objects | Selected objects. |
|
inline |
Returns the absolute coordinates of the rectangle cursor positions.
The view that returns is the view of the button down position.
button down position - is the position where you press and hold mouse button 1. button up position - is the position where you release mouse button 1.
Pos1 and Pos2 are the absolute coordinates of the button down and button up positions respectively. Pos3 is the absolute coordinates of the rectangle corner which, as viewed on the screen, is horizontal with pos1. Pos4 is the absolute coordinates of the rectangle corner which, as viewed on the screen, is horizontal with pos2. Returns an error if the last gesture was not rectangle.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
position1 | Absolute coordinates of the button down position |
position2 | Absolute coordinates of the button up position |
position3 | Absolute coordinates of corner of screen rectangle which is horizontal with button down position |
position4 | Absolute coordinates of corner of screen rectangle which is horizontal with button up position |
|
inline |
Returns the number of tagged objects selected and a pointer to an array of tags of the objects selected.
Use this function with UIStyler dialogs.
Created in NX7.5.4
License requirements: None.
select | Selection handle |
objects | Selected objects. |
|
inline |
Clears the Global Selection list
Created in NX11.0.0
License requirements: None.
|
inline |
Creates a Selection Subscriber
Created in NX11.0.0
License requirements: None.
delegate int NXOpen.Selection.FilterCallback | ( | NXOpen.NXObject | entity, |
NXOpen.Selection.MaskTriple | entityMask, | ||
NXOpen.SelectionHandle | selectHandle | ||
) |
It is an optional callback which the user can provide to perform application specific filtering when selecting objects.
Created in NX5.0.0
Deprecated in NX8.0.0. Use NXOpen.Selection.FilterTaggedObjectCallback instead
License requirements: None.
entity | Candidate object |
entityMask | Object type, object subtype, solid type |
selectHandle | Selection handle |
delegate int NXOpen.Selection.FilterTaggedObjectCallback | ( | NXOpen.TaggedObject | entity, |
NXOpen.Selection.MaskTriple | entityMask, | ||
NXOpen.SelectionHandle | selectHandle | ||
) |
It is an optional callback which the user can provide to perform application specific filtering when selecting tagged objects.
Created in NX7.5.4
License requirements: None.
entity | Candidate object |
entityMask | Object type, object subtype, solid type |
selectHandle | Selection handle |
|
inline |
Returns the number of objects currently selected
Created in NX3.0.0
License requirements: None.
|
inline |
Returns the n'th object on the selection list
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.GetSelectedTaggedObject instead
License requirements: None.
index | The index. Should be between 0 and GetNumSelectedObjects |
|
inline |
Returns the n'th tagged object on the selection list
Created in NX7.5.4
License requirements: None.
index | The index. Should be between 0 and GetNumSelectedObjects |
|
inline |
Gets whether or not the user defined class is available for selection.
Created in NX5.0.0
License requirements: None.
udoClass | The UserDefinedClass in question |
|
inline |
Inquires whether or not Global Selection is active (no active dialog)
Created in NX11.0.0
License requirements: None.
|
inline |
Inquires if object is selected.
Use this function with UIStyler dialogs.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
object | Object |
|
inline |
Removes all the objects from the selection list and optionally unhighlights them.
Use this function with UIStyler dialogs.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
unhighlight | If true, unhighlight objects |
|
inline |
Removes objects from the selection list.
Use this function with UIStyler dialogs. It can be called from the selection callback. It cannot be called from the selection filter procedure.
If any of the objects are not in the list, an error is returned and NO objects are removed from the list.
It could be called by the selection callback to remove objects from the selection list. For example, based on objects just deselected, the application may need to remove other associated objects from the selection list.
Created in NX5.0.0
Deprecated in NX8.0.0. Use Selection.RemoveTaggedObjectsFromSelectionList instead
License requirements: None.
select | Selection handle |
objs | Array of object |
unhighlight | If true, unhighlight objects |
|
inline |
Removes tagged objects from the selection list.
Use this function with UIStyler dialogs. It can be called from the selection callback. It cannot be called from the selection filter procedure.
If any of the objects are not in the list, an error is returned and NO objects are removed from the list.
It could be called by the selection callback to remove objects from the selection list. For example, based on objects just deselected, the application may need to remove other associated objects from the selection list.
Created in NX7.5.4
License requirements: None.
select | Selection handle |
objs | Array of object |
unhighlight | If true, unhighlight objects |
|
inline |
Submit a request to the current selection owner to deselect the given objects.
Note that the selection owner may not allow some objects to be deselected.
Created in NX11.0.0
License requirements: None.
deselectList |
|
inline |
Submit a request to the current selection owner to select the given objects.
Note that the selection owner may not allow some objects to be selected.
Created in NX11.0.0
License requirements: None.
selectList |
|
inline |
Select features
Created in NX3.0.0
License requirements: None.
message | Cue line message to display |
featType | The types of features that are selectable |
featureArray | The selected features |
delegate int NXOpen.Selection.SelectionCallback | ( | NXOpen.NXObject[] | selectedObjects, |
NXOpen.NXObject[] | deselectedObjects, | ||
NXOpen.SelectionHandle | selectHandle | ||
) |
It is an optional callback which the user can provide to customize his selection
Created in NX5.0.0
Deprecated in NX8.0.0. Use NXOpen.Selection.TaggedObjectSelectionCallback instead
License requirements: None.
selectedObjects | Selected objects |
deselectedObjects | Deselected objects |
selectHandle | Selection handle |
|
inline |
Select single object.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.SelectTaggedObject instead
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
object | The selected object |
cursor | Absolute coordinates of cursor position. This is undefined if object is selected by name |
|
inline |
Select single object using filter defined by mask triples.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.SelectTaggedObject instead
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
action | Indicates how the mask array will modify the selection filter |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
maskArray | Modifies the list of object types that can be selected. How it modifies the list of object types is determined by the SelectionAction parameter. |
object | The selected object |
cursor | Absolute coordinates of cursor position. This is undefined if object is selected by name |
|
inline |
Select single object using filter defined by selection type.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.SelectTaggedObject instead
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
typeArray | The types of objects that can be selected |
object | The selected object |
cursor | Absolute coordinates of cursor position. This is undefined if object is selected by name |
|
inline |
Select objects.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.SelectTaggedObjects instead
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
objectArray | The selected objects |
|
inline |
Select objects using filter defined by mask triples.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.SelectTaggedObject instead
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
action | Indicates how the mask array will modify the selection filter |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
maskArray | Modifies the list of object types that can be selected. How it modifies the list of object types is determined by the SelectionAction parameter. |
objectArray | The selected objects |
|
inline |
Select objects using filter defined by selection type.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX3.0.0
Deprecated in NX8.0.0. Use Selection.SelectTaggedObject instead
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
typeArray | The types that can be selected |
objectArray | The selected objects |
|
inline |
Select screen position on graphics display
Created in NX3.0.0
License requirements: None.
message | Cue line message to display |
object | View of selected screen location |
screenPosition | Selected screen position |
|
inline |
Select single tagged object.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX7.5.4
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
object | The selected object |
cursor | Absolute coordinates of cursor position. This is undefined if object is selected by name |
|
inline |
Select single tagged object using filter defined by mask triples.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX7.5.4
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
action | Indicates how the mask array will modify the selection filter |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
maskArray | Modifies the list of object types that can be selected. How it modifies the list of object types is determined by the SelectionAction parameter. |
object | The selected object |
cursor | Absolute coordinates of cursor position. This is undefined if object is selected by name |
|
inline |
Select single tagged object using filter defined by selection type.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX7.5.4
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
typeArray | The types of objects that can be selected |
object | The selected object |
cursor | Absolute coordinates of cursor position. This is undefined if object is selected by name |
|
inline |
Select tagged objects.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX7.5.4
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
objectArray | The selected objects |
|
inline |
Select tagged objects using filter defined by mask triples.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX7.5.4
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
action | Indicates how the mask array will modify the selection filter |
includeFeatures | Whether to allow the selection of features |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
maskArray | Modifies the list of object types that can be selected. How it modifies the list of object types is determined by the SelectionAction parameter. |
objectArray | The selected objects |
|
inline |
Select tagged objects using filter defined by selection type.
To enable selection of objects within drawing member views, use SetCursorView API available on UFUi
.
Created in NX7.5.4
License requirements: None.
message | Cue line message to display |
title | Dialog title |
scope | Selection scope |
keepHighlighted | Whether to keep the selection highlighted after it has been selected |
typeArray | The types that can be selected |
objectArray | The selected objects |
|
inline |
Specify selection filter callback for additional filtering based on application specific criteria, and/or selection callback to perform application specific processing for each selection gesture processed.
Both the filter callback and the selection callback are passed object to SelectionHandle which can be used to inquire other selection data or modify selection. This selection handle object is no longer valid after the filter callback or selection callback is exited.
Created in NX5.0.0
Deprecated in NX8.0.0. Use NXOpen.Selection.SetTaggedObjectSelectionCallbacks instead
License requirements: None.
select | Selection handle |
filterproc | Filter callback for additional user specific filtering. |
selcb | Selection callback for application specific processing. |
|
inline |
Sets the types of objects that are selectable.
If this function is not called to set the mask, then the default mask is all standard types.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
action | Mask action |
maskArray | Mask triples |
|
inline |
Sets whether or not the user defined class is available for selection.
Created in NX5.0.0
License requirements: None.
udoClass | The UserDefinedClass in question |
selectionStatus | Allow the selection of this UserDefinedClass |
|
inline |
Sets the selection type.
It can be called from a callback to change the type of selection associated with the dialog.
Created in NX5.0.0
License requirements: None.
select | Selection handle |
type | Selection type |
|
inline |
Specify selection filter callback for additional filtering of tagged objects based on application specific criteria, and/or selection callback to perform application specific processing for each selection gesture processed.
Both the filter callback and the selection callback are passed object to SelectionHandle which can be used to inquire other selection data or modify selection. This selection handle tagged object is no longer valid after the filter callback or selection callback is exited.
Created in NX7.5.4
License requirements: None.
select | Selection handle |
filterproc | Filter callback for additional user specific filtering. |
selcb | Selection callback for application specific processing. |
delegate int NXOpen.Selection.TaggedObjectSelectionCallback | ( | NXOpen.TaggedObject[] | selectedObjects, |
NXOpen.TaggedObject[] | deselectedObjects, | ||
NXOpen.SelectionHandle | selectHandle | ||
) |
It is an optional callback which the user can provide to customize his selection of tagged objects
Created in NX7.5.4
License requirements: None.
selectedObjects | Selected objects |
deselectedObjects | Deselected objects |
selectHandle | Selection handle |
|
get |
Returns the tag of this object.