PartCloseStatus Class¶
-
class
NXOpen.
PartCloseStatus
¶ Bases:
NXOpen.TransientObject
This class represents a list of part names with associated status codes that serve to communicate why these parts were not able to be closed.
New in version NX6.0.1.
Properties¶
Property | Description |
---|---|
NumberUnclosedParts | Returns the number of parts that could not be closed |
Methods¶
Method | Description |
---|---|
Dispose | Free resources associated with the instance. |
GetPart | Returns the name of a particular part that could not be closed |
GetStatus | Returns the error code indicating the reason the part could not be closed. |
Property Detail¶
Method Detail¶
Dispose¶
-
PartCloseStatus.
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 NX6.0.1.
License requirements: None.
GetPart¶
-
PartCloseStatus.
GetPart
¶ Returns the name of a particular part that could not be closed
Signature
GetPart(i)
Parameters: i (int) – Index into list of unclosed parts Returns: Return type: NXOpen.BasePart
New in version NX6.0.1.
License requirements: None.
GetStatus¶
-
PartCloseStatus.
GetStatus
¶ Returns the error code indicating the reason the part could not be closed.
Signature
GetStatus(i)
Parameters: i (int) – Index into list of unclosed parts Returns: Reason that part could not be closed Return type: int New in version NX6.0.1.
License requirements: None.