PmiData Class

class NXOpen.Annotations.PmiData

Bases: NXOpen.TransientObject

Represents PMI(Product and Manufacturing Information) data

New in version NX4.0.0.

Methods

Method Description
Dispose Frees the object from memory.
GetAssociatedObject Returns the associated object
GetBusinessModifiers Returns the business modifiers
GetIndex Returns the index
GetNumAssociatedObjectsSets Returns the numbers of associated objects list
SetAssociatedObject Sets the associated object
SetBusinessModifiers Sets the business modifiers
SetIndex Sets the index
SetNumAssociatedObjectsSets Sets the number of associated objects list

Method Detail

Dispose

PmiData.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 NX4.0.0.

License requirements: None.

GetAssociatedObject

PmiData.GetAssociatedObject

Returns the associated object

Signature GetAssociatedObject()

Returns:Associated objects
Return type:NXOpen.Annotations.AssociatedObject

New in version NX4.0.0.

License requirements: None.

GetBusinessModifiers

PmiData.GetBusinessModifiers

Returns the business modifiers

Signature GetBusinessModifiers()

Returns:List of business modifiers
Return type:list of NXOpen.Annotations.BusinessModifier

New in version NX4.0.0.

License requirements: None.

GetIndex

PmiData.GetIndex

Returns the index

Signature GetIndex()

Returns:
Return type:int

New in version NX5.0.0.

License requirements: None.

GetNumAssociatedObjectsSets

PmiData.GetNumAssociatedObjectsSets

Returns the numbers of associated objects list

Signature GetNumAssociatedObjectsSets()

Returns:
Return type:int

New in version NX10.0.0.

License requirements: None.

SetAssociatedObject

PmiData.SetAssociatedObject

Sets the associated object

Signature SetAssociatedObject(assocObj)

Parameters:assocObj (NXOpen.Annotations.AssociatedObject) – List of new associated objects

New in version NX4.0.0.

License requirements: None.

SetBusinessModifiers

PmiData.SetBusinessModifiers

Sets the business modifiers

Signature SetBusinessModifiers(businessModifiers)

Parameters:businessModifiers (list of NXOpen.Annotations.BusinessModifier) – List of new business modifiers

New in version NX4.0.0.

License requirements: None.

SetIndex

PmiData.SetIndex

Sets the index

Signature SetIndex(index)

Parameters:index (int) –

New in version NX5.0.0.

License requirements: None.

SetNumAssociatedObjectsSets

PmiData.SetNumAssociatedObjectsSets

Sets the number of associated objects list

Signature SetNumAssociatedObjectsSets(numAssocObjectsSets)

Parameters:numAssocObjectsSets (int) –

New in version NX10.0.0.

License requirements: geometric_tol (“GDT”) OR drafting (“DRAFTING”)