ModlDistanceAngle Class — NXOpen Python API Reference 12.0.0 documentation

# ModlDistanceAngle Class

class `NXOpen.GeometricUtilities.``ModlDistanceAngle`

  Bases: `NXOpen.TaggedObject`, `NXOpen.GeometricUtilities.IComponentBuilder`

  Represents a `NXOpen.GeometricUtilities.ModlDistanceAngle`

  New in version NX6.0.0.

# Properties

Property | Description
--- | ---
Angle | Returns the value of angular transform.
AngularDirection | Returns or sets the direction of angular dimensions.
Distance | Returns the distance of linear transform.
LinearAxis | Returns or sets the linear axis of distance.
OrientXpress | Returns the orientXpress.
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Property Detail

## Angle

`ModlDistanceAngle.``Angle`

  Returns the value of angular transform.

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

  Getter Method

  Signature `Angle`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX6.0.0.

  License requirements: None.

## AngularDirection

`ModlDistanceAngle.``AngularDirection`

  Returns or sets the direction of angular dimensions.

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

  Getter Method

  Signature `AngularDirection`

  Returns: |
  Return type: | `NXOpen.Vector3d`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `AngularDirection`

  Parameters: | angularDirection (`NXOpen.Vector3d`) –

  New in version NX6.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)

## Distance

`ModlDistanceAngle.``Distance`

  Returns the distance of linear transform.

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

  Getter Method

  Signature `Distance`

  Returns: |
  Return type: | `NXOpen.Expression`

  New in version NX6.0.0.

  License requirements: None.

## LinearAxis

`ModlDistanceAngle.``LinearAxis`

  Returns or sets the linear axis of distance.

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

  Getter Method

  Signature `LinearAxis`

  Returns: |
  Return type: | `NXOpen.Axis`

  New in version NX6.0.0.

  License requirements: None.

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

  Setter Method

  Signature `LinearAxis`

  Parameters: | linearAxis (`NXOpen.Axis`) –

  New in version NX6.0.0.

  License requirements: solid_modeling (“SOLIDS MODELING”) OR cam_base (“CAM BASE”) OR geometric_tol (“GDT”) OR insp_programming (“INSPECTION PROGRAMMING”)

## OrientXpress

`ModlDistanceAngle.``OrientXpress`

  Returns the orientXpress.

  OrientXpress used as overlay in Motion.

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

  Getter Method

  Signature `OrientXpress`

  Returns: |
  Return type: | `NXOpen.GeometricUtilities.OrientXpressBuilder`

  New in version NX6.0.0.

  License requirements: None.

# Method Detail

## Validate

`ModlDistanceAngle.``Validate`

  Validate whether the inputs to the component are sufficient for commit to be called.

  If the component is not in a state to commit then an exception is thrown. For example, if the component requires you to set some property, this method will throw an exception if you haven’t set it. This method throws a not-yet-implemented NXException for some components.

  Signature `Validate()`

  Returns: | Was self validation successful
  Return type: | bool

  New in version NX3.0.1.

  License requirements: None.