PartReopenStatus Class

class NXOpen.PartReopenStatus

Bases: NXOpen.TransientObject

Contains 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.

Methods

Method Description
Dispose Free resources associated with the instance.

Property Detail

AfterName

PartReopenStatus.AfterName

Returns the name of the part after it was reopened.

-------------------------------------

Getter Method

Signature AfterName

Returns:
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 BeforeName

Returns:
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 CouldNotClose

Returns:
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 LoadStatus

Returns:
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 LoadStatusDescription

Returns:
Return type:str

New in version NX3.0.0.

License requirements: None.

ModifiedInSession

PartReopenStatus.ModifiedInSession

Returns whether part is modified in session.

-------------------------------------

Getter Method

Signature ModifiedInSession

Returns:
Return type:bool

New in version NX3.0.0.

License requirements: None.

ModifiedOnDisk

PartReopenStatus.ModifiedOnDisk

Returns whether part is modified on disk.

-------------------------------------

Getter Method

Signature ModifiedOnDisk

Returns:
Return type:bool

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.