NXOpen .NET Reference
12.0.0
|
Represents a list of objects on a selection list. More...
Public Member Functions | |
unsafe bool | Add (NXOpen.Part @object) |
Adds an object to the list More... | |
unsafe bool | Add (NXOpen.Part[] objects) |
Adds a set of objects to the list More... | |
unsafe bool | Add (NXOpen.SelectionMethod inputSelectionMethod) |
Adds the objects from a SelectionMethod to the list More... | |
unsafe bool | Add (NXOpen.Part selection, NXOpen.View view, NXOpen.Point3d point) |
Adds the object with the objects view and objects point More... | |
unsafe bool | Remove (NXOpen.Part @object) |
Remove specified object from list. More... | |
unsafe bool | Remove (NXOpen.Part @object, NXOpen.View view) |
Remove specified object from list. More... | |
unsafe bool | Remove (NXOpen.InferSnapType.SnapType snapType, NXOpen.Part selection1, NXOpen.View view1, NXOpen.Point3d point1, NXOpen.Part selection2, NXOpen.View view2, NXOpen.Point3d point2) |
Remove specified object from list. More... | |
unsafe bool | RemoveArray (NXOpen.Part[] objects) |
Remove specified objects from list. More... | |
unsafe bool | Remove (NXOpen.SelectionMethod inputSelectionMethod) |
Removes the objects from a SelectionMethod from the list More... | |
unsafe void | Clear () |
Removes all items from the list. More... | |
unsafe bool | Contains (NXOpen.Part @object) |
Returns whether the specified object is already in the list or not. More... | |
unsafe void | SetArray (NXOpen.Part[] objects) |
Sets the list of objects in the selection list. More... | |
unsafe NXOpen.Part[] | GetArray () |
Returns the list of objects in the selection list. More... | |
unsafe NXOpen.SelectObject[] | GetSelectObjectArray () |
Returns the list of SelectObjects in the selection list. More... | |
unsafe bool | Add (NXOpen.InferSnapType.SnapType snapType, NXOpen.Part selection1, NXOpen.View view1, NXOpen.Point3d point1, NXOpen.Part selection2, NXOpen.View view2, NXOpen.Point3d point2) |
The object being selected with the objects view and objects point and snap information. More... | |
unsafe bool | Add (NXOpen.Part selection, NXOpen.CaeObjectType.CaeSubType caeSubType, int caeSubId) |
The object being selected with CAE set object information. More... | |
unsafe bool | Validate () |
Validate whether the inputs to the component are sufficient for commit to be called. More... | |
Properties | |
unsafe bool | DuplicatesAllowed [get] |
Returns whether duplicate objects are allowed in the selection list. More... | |
unsafe int | Size [get] |
Returns the number of objects in the list. More... | |
Represents a list of objects on a selection list.
Created in NX5.0.0
unsafe bool NXOpen.SelectPartList.Add | ( | NXOpen.Part @ | object | ) |
Adds an object to the list
Created in NX5.0.0
License requirements: None.
object | object to add |
unsafe bool NXOpen.SelectPartList.Add | ( | NXOpen.Part[] | objects | ) |
Adds a set of objects to the list
Created in NX5.0.0
License requirements: None.
objects | objects to add |
unsafe bool NXOpen.SelectPartList.Add | ( | NXOpen.SelectionMethod | inputSelectionMethod | ) |
Adds the objects from a SelectionMethod to the list
Created in NX6.0.0
License requirements: None.
inputSelectionMethod | selection method containing objects to add |
unsafe bool NXOpen.SelectPartList.Add | ( | NXOpen.Part | selection, |
NXOpen.View | view, | ||
NXOpen.Point3d | point | ||
) |
Adds the object with the objects view and objects point
Created in NX5.0.0
License requirements: None.
selection | selected object |
view | selected object view |
point | selected object point |
unsafe bool NXOpen.SelectPartList.Add | ( | NXOpen.InferSnapType.SnapType | snapType, |
NXOpen.Part | selection1, | ||
NXOpen.View | view1, | ||
NXOpen.Point3d | point1, | ||
NXOpen.Part | selection2, | ||
NXOpen.View | view2, | ||
NXOpen.Point3d | point2 | ||
) |
The object being selected with the objects view and objects point and snap information.
Created in NX5.0.0
License requirements: None.
snapType | snap point type |
selection1 | first selected object |
view1 | first selected object view |
point1 | first selected object point |
selection2 | second selected object |
view2 | second selected object view |
point2 | second selected object point |
unsafe bool NXOpen.SelectPartList.Add | ( | NXOpen.Part | selection, |
NXOpen.CaeObjectType.CaeSubType | caeSubType, | ||
int | caeSubId | ||
) |
The object being selected with CAE set object information.
Created in NX5.0.0
Deprecated in NX10.0.0. Use other versions of NXOpen.SelectObjectList.Add .
License requirements: None.
selection | selected object |
caeSubType | CAE set object sub type |
caeSubId | CAE set object sub id |
unsafe void NXOpen.SelectPartList.Clear | ( | ) |
Removes all items from the list.
Created in NX5.0.0
License requirements: None.
unsafe bool NXOpen.SelectPartList.Contains | ( | NXOpen.Part @ | object | ) |
Returns whether the specified object is already in the list or not.
Created in NX5.0.0
License requirements: None.
object | object to check |
unsafe NXOpen.Part [] NXOpen.SelectPartList.GetArray | ( | ) |
Returns the list of objects in the selection list.
Created in NX5.0.0
License requirements: None.
unsafe NXOpen.SelectObject [] NXOpen.SelectPartList.GetSelectObjectArray | ( | ) |
Returns the list of SelectObjects in the selection list.
Created in NX5.0.0
License requirements: None.
unsafe bool NXOpen.SelectPartList.Remove | ( | NXOpen.Part @ | object | ) |
Remove specified object from list.
Created in NX5.0.0
License requirements: None.
object | Object to remove |
unsafe bool NXOpen.SelectPartList.Remove | ( | NXOpen.Part @ | object, |
NXOpen.View | view | ||
) |
Remove specified object from list.
Created in NX6.0.0
License requirements: None.
object | Object to remove |
view | with this view |
unsafe bool NXOpen.SelectPartList.Remove | ( | NXOpen.InferSnapType.SnapType | snapType, |
NXOpen.Part | selection1, | ||
NXOpen.View | view1, | ||
NXOpen.Point3d | point1, | ||
NXOpen.Part | selection2, | ||
NXOpen.View | view2, | ||
NXOpen.Point3d | point2 | ||
) |
Remove specified object from list.
Created in NX6.0.0
License requirements: None.
snapType | snap point type |
selection1 | first selected object |
view1 | first selected object view |
point1 | first selected object point |
selection2 | second selected object |
view2 | second selected object view |
point2 | second selected object point |
unsafe bool NXOpen.SelectPartList.Remove | ( | NXOpen.SelectionMethod | inputSelectionMethod | ) |
Removes the objects from a SelectionMethod from the list
Created in NX6.0.0
License requirements: None.
inputSelectionMethod | selection method containing objects to add |
unsafe bool NXOpen.SelectPartList.RemoveArray | ( | NXOpen.Part[] | objects | ) |
Remove specified objects from list.
Created in NX5.0.0
License requirements: None.
objects | Objects to remove |
unsafe void NXOpen.SelectPartList.SetArray | ( | NXOpen.Part[] | objects | ) |
Sets the list of objects in the selection list.
This will clear any existing items in the list.
Created in NX5.0.0
License requirements: None.
objects | items to put in the list |
unsafe bool NXOpen.SelectPartList.Validate | ( | ) |
Validate whether the inputs to the component are sufficient for commit to be called.
If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven't set it. This method throws a not-yet-implemented NXException for some components.
Created in NX3.0.1
License requirements: None.
Implements NXOpen.GeometricUtilities.IComponentBuilder.
|
get |
Returns whether duplicate objects are allowed in the selection list.
Created in NX5.0.0
License requirements: None.
|
get |
Returns the number of objects in the list.
Created in NX5.0.0
License requirements: None.