NarrowDimensionPreferences Class — NXOpen Python API Reference 12.0.0 documentation

# NarrowDimensionPreferences Class

class `NXOpen.Annotations.``NarrowDimensionPreferences`

  Bases: `NXOpen.TransientObject`

  Represents narrow dimension preferences

  New in version NX4.0.0.

# Properties

Property | Description
--- | ---
DimensionArrowheadType | Returns or sets the dimension arrowhead type when no space for normal arrowheads
DimensionDisplayOption | Returns or sets the dimension display option
DimensionLeaderAngle | Returns or sets the dimension leader angle
DimensionTextOffset | Returns or sets the dimension text offset
DimensionTextOrientation | Returns or sets the dimension text orientation

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.

# Property Detail

## DimensionArrowheadType

`NarrowDimensionPreferences.``DimensionArrowheadType`

  Returns or sets the dimension arrowhead type when no space for normal arrowheads

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

  Getter Method

  Signature `DimensionArrowheadType`

  Returns: | Arrowhead type
  Return type: | `NXOpen.Annotations.ArrowheadType`

  New in version NX4.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DimensionArrowheadType`

  Parameters: | type (`NXOpen.Annotations.ArrowheadType`) – New arrowhead type

  New in version NX4.0.0.

  License requirements: None.

## DimensionDisplayOption

`NarrowDimensionPreferences.``DimensionDisplayOption`

  Returns or sets the dimension display option

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

  Getter Method

  Signature `DimensionDisplayOption`

  Returns: | Display option
  Return type: | `NXOpen.Annotations.NarrowDisplayOption`

  New in version NX4.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DimensionDisplayOption`

  Parameters: | option (`NXOpen.Annotations.NarrowDisplayOption`) – New display option

  New in version NX4.0.0.

  License requirements: None.

## DimensionLeaderAngle

`NarrowDimensionPreferences.``DimensionLeaderAngle`

  Returns or sets the dimension leader angle

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

  Getter Method

  Signature `DimensionLeaderAngle`

  Returns: | Leader angle
  Return type: | float

  New in version NX4.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DimensionLeaderAngle`

  Parameters: | leaderAngle (float) – New leader angle

  New in version NX4.0.0.

  License requirements: None.

## DimensionTextOffset

`NarrowDimensionPreferences.``DimensionTextOffset`

  Returns or sets the dimension text offset

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

  Getter Method

  Signature `DimensionTextOffset`

  Returns: | Text offset
  Return type: | float

  New in version NX4.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DimensionTextOffset`

  Parameters: | textOffset (float) – New text offset

  New in version NX4.0.0.

  License requirements: None.

## DimensionTextOrientation

`NarrowDimensionPreferences.``DimensionTextOrientation`

  Returns or sets the dimension text orientation

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

  Getter Method

  Signature `DimensionTextOrientation`

  Returns: | Text orientation
  Return type: | `NXOpen.Annotations.NarrowTextOrientation`

  New in version NX4.0.0.

  License requirements: None.

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

  Setter Method

  Signature `DimensionTextOrientation`

  Parameters: | textOrientation (`NXOpen.Annotations.NarrowTextOrientation`) – New text orientation

  New in version NX4.0.0.

  License requirements: None.

# Method Detail

## Dispose

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