ErrorMessageHandler Class

class NXOpen.PDM.ErrorMessageHandler

Bases: NXOpen.TransientObject

Represents the class that contains ErrorObjects and Failed Logical Objects.

New in version NX11.0.0.

Methods

Method Description
Dispose Free resources associated with the instance.
GetErrorList Returns ERROR_LIST_s
GetErrorMessages Returns Error Messages
GetWarningMessages Returns Warning Messages

Method Detail

Dispose

ErrorMessageHandler.Dispose

Free resources associated with the instance.

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 NX11.0.0.

License requirements: None.

GetErrorList

ErrorMessageHandler.GetErrorList

Returns ERROR_LIST_s

Signature GetErrorList()

Returns:
Return type:NXOpen.ErrorList

New in version NX11.0.0.

License requirements: None.

GetErrorMessages

ErrorMessageHandler.GetErrorMessages

Returns Error Messages

Signature GetErrorMessages()

Returns:Error Messages
Return type:list of str

New in version NX11.0.0.

License requirements: None.

GetWarningMessages

ErrorMessageHandler.GetWarningMessages

Returns Warning Messages

Signature GetWarningMessages()

Returns:Warning Messages
Return type:list of str

New in version NX11.0.0.

License requirements: None.