DatumReference Class — NXOpen Python API Reference 12.0.0 documentation

# DatumReference Class

class `NXOpen.Annotations.``DatumReference`

  Bases: `NXOpen.TransientObject`

  Represents a datum reference

  New in version NX4.0.0.

# Properties

Property | Description
--- | ---
DatumLabel | Returns or sets the datum label

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.
GetMaterialConditionModifiers | Returns the material condition modifiers
SetMaterialConditionModifiers | Sets the material condition modifiers

# Property Detail

## DatumLabel

`DatumReference.``DatumLabel`

  Returns or sets the datum label

  `-------------------------------------`

  Getter Method

  Signature `DatumLabel`

  Returns: | Datum label
  Return type: | str

  New in version NX4.0.0.

  License requirements: None.

  `-------------------------------------`

  Setter Method

  Signature `DatumLabel`

  Parameters: | label (str) – New datum label

  New in version NX4.0.0.

  License requirements: None.

# Method Detail

## Dispose

`DatumReference.``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.

## GetMaterialConditionModifiers

`DatumReference.``GetMaterialConditionModifiers`

  Returns the material condition modifiers

  Signature `GetMaterialConditionModifiers()`

  Returns: | List of modifiers
  Return type: | list of `NXOpen.Annotations.MaterialConditionModifier`

  New in version NX4.0.0.

  License requirements: None.

## SetMaterialConditionModifiers

`DatumReference.``SetMaterialConditionModifiers`

  Sets the material condition modifiers

  Signature `SetMaterialConditionModifiers(modifiers)`

  Parameters: | modifiers (list of `NXOpen.Annotations.MaterialConditionModifier`) – List of modifiers

  New in version NX4.0.0.

  License requirements: None.