PartLoadStatus Class¶
-
class
NXOpen.
PartLoadStatus
¶ Bases:
NXOpen.TransientObject
Represents a list of part names with associated status codes.
The status codes serve to communicate why these parts were not able to be loaded during part open.
Note that if an exception is thrown during the load process, the load status structure will not be usable as the load process itself has failed and nothing will have been loaded. This load status can only be used for partially successful load operations and some load warnings.
New in version NX3.0.0.
Properties¶
Property | Description |
---|---|
NumberUnloadedParts | Returns the number of parts that could not be loaded. |
Methods¶
Method | Description |
---|---|
Dispose | Free resources associated with the instance. |
GetPartName | Returns the name of a particular part that could not be loaded. |
GetStatus | Returns the status code for a part that could not be loaded. |
GetStatusDescription | Returns the text description of the status code for a part that could not be loaded. |
Property Detail¶
Method Detail¶
Dispose¶
-
PartLoadStatus.
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 NX3.0.0.
License requirements: None.
GetPartName¶
-
PartLoadStatus.
GetPartName
¶ Returns the name of a particular part that could not be loaded.
Signature
GetPartName(i)
Parameters: i (int) – Index into list of unloaded parts Returns: Return type: str New in version NX3.0.0.
License requirements: None.
GetStatus¶
-
PartLoadStatus.
GetStatus
¶ Returns the status code for a part that could not be loaded.
Signature
GetStatus(i)
Parameters: i (int) – Index into list of unloaded parts Returns: Return type: int New in version NX3.0.0.
License requirements: None.
GetStatusDescription¶
-
PartLoadStatus.
GetStatusDescription
¶ Returns the text description of the status code for a part that could not be loaded.
Signature
GetStatusDescription(i)
Parameters: i (int) – Index into list of unloaded parts. Returns: Return type: str New in version NX3.0.0.
License requirements: None.