NXOpen.NXException Class

class NXOpen.NXException

Bases: Exception

A base class for exceptions thrown by NXOpen methods.

Methods

NXOpen.NXException.AssertErrorCode Assert if the error code is unexpected.
NXOpen.NXException.GetMessage Gets the error message associated with this exception.