NXOpen .NET Reference Guide
|
Represents a list of objects. More...
Public Member Functions | |
unsafe void | Append (NXOpen.Drawings.SectionLineSegmentBuilder[] objects) |
Appends a set of objects to the list More... | |
unsafe void | Append (NXOpen.Drawings.SectionLineSegmentBuilder @object) |
Appends an object to the list More... | |
unsafe void | Clear () |
Clears the entire list without deleting the objects. More... | |
unsafe void | Clear (NXOpen.ObjectList.DeleteOption deleteOption) |
Clears the entire list More... | |
unsafe void | ClearIndex (int deleteIdx) |
Deletes the item at the index specified. More... | |
unsafe void | Erase (int index) |
Erases the object from the list, but does not delete the object. More... | |
unsafe void | Erase (int index, NXOpen.ObjectList.DeleteOption deleteOption) |
Erases the object at the given position from the list. More... | |
unsafe void | Erase (NXOpen.Drawings.SectionLineSegmentBuilder obj) |
Erases the object from the list, but does not delete the object. More... | |
unsafe void | Erase (NXOpen.Drawings.SectionLineSegmentBuilder obj, NXOpen.ObjectList.DeleteOption deleteOption) |
Erases the object from the list. More... | |
unsafe int | FindIndex (NXOpen.Drawings.SectionLineSegmentBuilder obj) |
Finds the index where the input object appears. More... | |
unsafe NXOpen.Drawings.SectionLineSegmentBuilder | FindItem (int index) |
Returns the object at the input index. More... | |
unsafe NXOpen.Drawings.SectionLineSegmentBuilder[] | GetContents () |
Gets the contents of the entire list More... | |
unsafe void | Insert (int location, NXOpen.Drawings.SectionLineSegmentBuilder @object) |
Inserts an object at the specified location More... | |
unsafe void | MoveToBottom (int index) |
Move object at the specified location to the bottom of the list. More... | |
unsafe void | MoveToTop (int index) |
Move object at the specified location to the top of the list. More... | |
unsafe void | SetContents (NXOpen.Drawings.SectionLineSegmentBuilder[] objects) |
Sets the contents of the entire list. More... | |
unsafe void | Swap (int index1, int index2) |
Exchanges the position of two objects inside the list. More... | |
unsafe void | Swap (NXOpen.Drawings.SectionLineSegmentBuilder object1, NXOpen.Drawings.SectionLineSegmentBuilder object2) |
Exchanges the position of two objects inside the list. More... | |
Public Member Functions inherited from NXOpen.TaggedObject | |
void | PrintTestData (String variableName) |
<exclude> More... | |
void | PrintTestData (String variableName, int lineNumber) |
<exclude> More... | |
override string | ToString () |
Returns a String that represents the current Object. 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 | |
unsafe int | Length [get] |
Returns the length of the list More... | |
Properties inherited from NXOpen.TaggedObject | |
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.TaggedObject | |
new void | initialize () |
<exclude> More... | |
Represents a list of objects.
To create a new instance of this class, use NXOpen.Part.CreateObjectList
Created in NX4.0.0
|
inline |
Appends a set of objects to the list
Created in NX4.0.0
License requirements: None.
objects | items to append |
|
inline |
Appends an object to the list
Created in NX5.0.0
License requirements: None.
object | item to append |
|
inline |
Clears the entire list without deleting the objects.
The caller is responsible for accounting for these objects. If they are not used or deleted by the time the part is closed (in other words, leaked) an error will occur
Created in NX5.0.0
License requirements: None.
|
inline |
Clears the entire list
Created in NX5.0.0
License requirements: None.
deleteOption | whether to delete the objects when removing them |
|
inline |
Deletes the item at the index specified.
The size of the list does * not change, but the item at this index is set to NULL.
Created in NX4.0.0
License requirements: None.
deleteIdx | index of item to be deleted |
|
inline |
Erases the object from the list, but does not delete the object.
The list is shifted so that there isn't a null where the object used to be.
Created in NX5.0.0
License requirements: None.
index | index of item to be removed from the list |
|
inline |
Erases the object at the given position from the list.
The list is shifted so that there isn't a null where the object used to be.
Created in NX5.0.0
License requirements: None.
index | index of item to be removed from the list |
deleteOption | whether to delete the object |
|
inline |
Erases the object from the list, but does not delete the object.
The list is shifted so that there isn't a null where the object used to exist.
Created in NX5.0.0
License requirements: None.
obj | object to be removed from the list |
|
inline |
Erases the object from the list.
The list is shifted so that there isn't a null where the object used to exist.
Created in NX5.0.0
License requirements: None.
obj | object to be removed from the list |
deleteOption | whether to delete the object |
|
inline |
Finds the index where the input object appears.
If it does not appear, * -1 is returned.
Created in NX4.0.0
License requirements: None.
obj | Object to find index for |
|
inline |
Returns the object at the input index.
May be NULL.
Created in NX4.0.0
License requirements: None.
index | index of object to return |
|
inline |
Gets the contents of the entire list
Created in NX5.0.0
License requirements: None.
|
inline |
Inserts an object at the specified location
Created in NX5.0.0
License requirements: None.
location | location at which to insert the object |
object | object to be inserted |
|
inline |
Move object at the specified location to the bottom of the list.
Created in NX10.0.0
License requirements: None.
index | location of the item |
|
inline |
Move object at the specified location to the top of the list.
Created in NX10.0.0
License requirements: None.
index | location of the item |
|
inline |
Sets the contents of the entire list.
This overwrites the previous contents of this list, but does not delete any objects that were originally on the list.
Created in NX5.0.0
License requirements: None.
objects | The list contents |
|
inline |
Exchanges the position of two objects inside the list.
The first object is placed where the second used to be, and second object where the first used to be.
Created in NX5.0.0
License requirements: None.
index1 | location of the first item |
index2 | location of the second item |
|
inline |
Exchanges the position of two objects inside the list.
The first object is placed where the second used to be, and second object where the first used to be.
Created in NX5.0.0
License requirements: None.
object1 | first item |
object2 | second item |
|
get |
Returns the length of the list
Created in NX5.0.0
License requirements: None.