PartNode Class

class NXOpen.Validate.PartNode

Bases: NXOpen.TransientObject

Represents a part file that validator will check against.

Part node contains the information of part filename and part object. You can create the part node by inputting part filename, or by inputting part object, or by inputting both. Validator will use the part object in the part node for checking. Only when the part object in the part node is None, then validator will use the part filename for checking.

New in version NX7.5.0.

Properties

Property Description
FileName Returns or sets the part file name
PartObject Returns or sets the part object

Methods

Method Description
Dispose Frees the object from memory.

Property Detail

FileName

PartNode.FileName

Returns or sets the part file name

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

Getter Method

Signature FileName

Returns:
Return type:str

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature FileName

Parameters:fileName (str) –

New in version NX7.5.0.

License requirements: None.

PartObject

PartNode.PartObject

Returns or sets the part object

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

Getter Method

Signature PartObject

Returns:
Return type:NXOpen.Part

New in version NX7.5.0.

License requirements: None.

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

Setter Method

Signature PartObject

Parameters:partObject (NXOpen.Part) –

New in version NX7.5.0.

License requirements: None.

Method Detail

Dispose

PartNode.Dispose

Frees the object from memory.

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 NX7.5.0.

License requirements: None.