ArbitraryTargetData Class

class NXOpen.Annotations.ArbitraryTargetData

Bases: NXOpen.Annotations.DatumTargetData

Represents arbitrary datum target data

New in version NX4.0.0.

Properties

Property Description
DatumLabel Returns or sets the datum label.
Index Returns or sets the target index.
UpperText Returns or sets the upper text.

Methods

Method Description
Dispose Frees the object from memory.
GetSimpleDraftingAidPreferences Returns the SimpleDraftingAidPreferences object
SetSimpleDraftingAidPreferences Sets the SimpleDraftingAidPreferences object

Property Detail

UpperText

ArbitraryTargetData.UpperText

Returns or sets the upper text.

NOTE: The set method should not be used to edit a read-only object such as a Mirrored PMI object. If it is, the changes will be overridden when the part is updated.

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

Getter Method

Signature UpperText

Returns:Upper text
Return type:str

New in version NX4.0.0.

License requirements: None.

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

Setter Method

Signature UpperText

Parameters:upperText (str) – New upper text

New in version NX4.0.0.

License requirements: None.

Method Detail

Dispose

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