PartReopenStatus Class¶
-
class
NXOpen.PartReopenStatus¶ Bases:
NXOpen.TransientObjectContains information about a part after an attempt was made to reopen it.
Instances of this class are retrieved from
PartReopenReport.GetStatuses(). .. versionadded:: NX3.0.0
Properties¶
| Property | Description |
|---|---|
| AfterName | Returns the name of the part after it was reopened. |
| BeforeName | Returns the name of the part before it was reopened. |
| CouldNotClose | Returns whether or not the part was closed. |
| LoadStatus | Returns the load status value from part load. |
| LoadStatusDescription | Returns the description of the load status value from part load. |
| ModifiedInSession | Returns whether part is modified in session. |
| ModifiedOnDisk | Returns whether part is modified on disk. |
Property Detail¶
AfterName¶
-
PartReopenStatus.AfterName¶ Returns the name of the part after it was reopened.
-------------------------------------Getter Method
Signature
AfterNameReturns: Return type: str New in version NX3.0.0.
License requirements: None.
BeforeName¶
-
PartReopenStatus.BeforeName¶ Returns the name of the part before it was reopened.
-------------------------------------Getter Method
Signature
BeforeNameReturns: Return type: str New in version NX3.0.0.
License requirements: None.
CouldNotClose¶
-
PartReopenStatus.CouldNotClose¶ Returns whether or not the part was closed.
If true, then the part could not be closed because it was modified in the session, and no flag was set to allow reopening of parts modified in the session.
-------------------------------------Getter Method
Signature
CouldNotCloseReturns: Return type: bool New in version NX3.0.0.
License requirements: None.
LoadStatus¶
-
PartReopenStatus.LoadStatus¶ Returns the load status value from part load.
This will be 0 if the load was successful.
-------------------------------------Getter Method
Signature
LoadStatusReturns: Return type: int New in version NX3.0.0.
License requirements: None.
LoadStatusDescription¶
-
PartReopenStatus.LoadStatusDescription¶ Returns the description of the load status value from part load.
This will be a blank string if the load was successful.
-------------------------------------Getter Method
Signature
LoadStatusDescriptionReturns: Return type: str New in version NX3.0.0.
License requirements: None.
Method Detail¶
Dispose¶
-
PartReopenStatus.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.