ErrorList Class

class NXOpen.ErrorList

Bases: NXOpen.TransientObject

Represents a list of errors

New in version NX3.0.0.

Properties

Property Description
Length Returns the number of errors in the list

Methods

Method Description
Clear Clears the list
Dispose Frees the object from memory.
GetErrorInfo Gets the nth error information structure in the list @return the nth error information structure in the list

Property Detail

Length

ErrorList.Length

Returns the number of errors in the list

-------------------------------------

Getter Method

Signature Length()

Returns:
Return type:int

New in version NX3.0.0.

License requirements: None.

Method Detail

Clear

ErrorList.Clear

Clears the list

Signature Clear()

New in version NX3.0.0.

License requirements: None.

Dispose

ErrorList.Dispose

Frees the object from memory.

After this method is called, it is illegal to use the object. In .NET, this method is automatically called when the object is deleted by the garbage collector.

Signature Dispose()

New in version NX3.0.0.

License requirements: None.

GetErrorInfo

ErrorList.GetErrorInfo

Gets the nth error information structure in the list

Signature GetErrorInfo(n)

Parameters:n (int) – must be between 0 and (length of the list - 1)
Returns:the nth error information structure in the list
Return type:NXOpen.ErrorInfo

New in version NX3.0.0.

License requirements: None.