AssociativeAngleBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# AssociativeAngleBuilder Class

class `NXOpen.Drawings.``AssociativeAngleBuilder`

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

  This builder allows the user to create an associative or non-associative angle by measuring between a combination of two objects or vectors evaluated on a specified plane, or by an expression

  New in version NX11.0.0.

# Properties

Property | Description
--- | ---
Angle | Returns the angle
AngleValue | Returns or sets the angle value
Associative | Returns or sets the associative flag
EvaluationPlane | Returns or sets the evaluation plane type
FirstMapView | Returns or sets the first map view
FirstObject | Returns the first object
FirstObjectType | Returns or sets the first object type
FirstVector | Returns or sets the first vector
Plane | Returns or sets the plane
ScalarObject | Returns or sets the scalar object
SecondMapView | Returns or sets the second map view
SecondObject | Returns the second object
SecondObjectType | Returns or sets the second object type
SecondVector | Returns or sets the second vector
Tag | Returns the Tag for this object.

# Methods

Method | Description
--- | ---
AlternateAngle | The alternate angle
CreateScalarObject | Creates a scalar object for an associative angle
CreateScalarObjectFromData | Creates scalar object for an associative angle using data from existing scalar object or angle value.
SetIsMeasure | Sets IsMeasure flag indicating angle is result of a measure
Validate | Validate whether the inputs to the component are sufficient for commit to be called.

# Enumerations

AssociativeAngleBuilderEvaluationPlaneType Enumeration | evaluation plane types
AssociativeAngleBuilderObjectType Enumeration | Represents the object type.

# Property Detail

## Angle

`AssociativeAngleBuilder.``Angle`

  Returns the angle

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

  Getter Method

  Signature `Angle`

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

  New in version NX11.0.0.

  License requirements: None.

## AngleValue

`AssociativeAngleBuilder.``AngleValue`

  Returns or sets the angle value

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

  Getter Method

  Signature `AngleValue`

  Returns: |
  Return type: | float

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `AngleValue`

  Parameters: | angleValue (float) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## Associative

`AssociativeAngleBuilder.``Associative`

  Returns or sets the associative flag

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

  Getter Method

  Signature `Associative`

  Returns: |
  Return type: | bool

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Associative`

  Parameters: | associative (bool) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## EvaluationPlane

`AssociativeAngleBuilder.``EvaluationPlane`

  Returns or sets the evaluation plane type

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

  Getter Method

  Signature `EvaluationPlane`

  Returns: |
  Return type: | `NXOpen.Drawings.AssociativeAngleBuilderEvaluationPlaneType`

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EvaluationPlane`

  Parameters: | evaluationPlane (`NXOpen.Drawings.AssociativeAngleBuilderEvaluationPlaneType`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## FirstMapView

`AssociativeAngleBuilder.``FirstMapView`

  Returns or sets the first map view

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

  Getter Method

  Signature `FirstMapView`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FirstMapView`

  Parameters: | firstMapView (`NXOpen.View`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## FirstObject

`AssociativeAngleBuilder.``FirstObject`

  Returns the first object

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

  Getter Method

  Signature `FirstObject`

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

  New in version NX11.0.0.

  License requirements: None.

## FirstObjectType

`AssociativeAngleBuilder.``FirstObjectType`

  Returns or sets the first object type

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

  Getter Method

  Signature `FirstObjectType`

  Returns: |
  Return type: | `NXOpen.Drawings.AssociativeAngleBuilderObjectType`

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FirstObjectType`

  Parameters: | objtype (`NXOpen.Drawings.AssociativeAngleBuilderObjectType`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## FirstVector

`AssociativeAngleBuilder.``FirstVector`

  Returns or sets the first vector

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

  Getter Method

  Signature `FirstVector`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `FirstVector`

  Parameters: | firstVector (`NXOpen.Direction`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## Plane

`AssociativeAngleBuilder.``Plane`

  Returns or sets the plane

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

  Getter Method

  Signature `Plane`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `Plane`

  Parameters: | plane (`NXOpen.Plane`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## ScalarObject

`AssociativeAngleBuilder.``ScalarObject`

  Returns or sets the scalar object

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

  Getter Method

  Signature `ScalarObject`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ScalarObject`

  Parameters: | scalarObject (`NXOpen.Scalar`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## SecondMapView

`AssociativeAngleBuilder.``SecondMapView`

  Returns or sets the second map view

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

  Getter Method

  Signature `SecondMapView`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SecondMapView`

  Parameters: | secondMapView (`NXOpen.View`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## SecondObject

`AssociativeAngleBuilder.``SecondObject`

  Returns the second object

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

  Getter Method

  Signature `SecondObject`

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

  New in version NX11.0.0.

  License requirements: None.

## SecondObjectType

`AssociativeAngleBuilder.``SecondObjectType`

  Returns or sets the second object type

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

  Getter Method

  Signature `SecondObjectType`

  Returns: |
  Return type: | `NXOpen.Drawings.AssociativeAngleBuilderObjectType`

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SecondObjectType`

  Parameters: | objtype (`NXOpen.Drawings.AssociativeAngleBuilderObjectType`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## SecondVector

`AssociativeAngleBuilder.``SecondVector`

  Returns or sets the second vector

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

  Getter Method

  Signature `SecondVector`

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

  New in version NX11.0.0.

  License requirements: None.

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

  Setter Method

  Signature `SecondVector`

  Parameters: | secondVector (`NXOpen.Direction`) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

# Method Detail

## AlternateAngle

`AssociativeAngleBuilder.``AlternateAngle`

  The alternate angle

  Signature `AlternateAngle()`

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## CreateScalarObject

`AssociativeAngleBuilder.``CreateScalarObject`

  Creates a scalar object for an associative angle

  Signature `CreateScalarObject()`

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## CreateScalarObjectFromData

`AssociativeAngleBuilder.``CreateScalarObjectFromData`

  Creates scalar object for an associative angle using data from existing scalar object or angle value.

  Signature `CreateScalarObjectFromData(scalarTag, angleValue)`

  Parameters:

  - scalarTag (`NXOpen.Scalar`) –
  - angleValue (float) –

  New in version NX11.0.2.

  License requirements: drafting (“DRAFTING”)

## SetIsMeasure

`AssociativeAngleBuilder.``SetIsMeasure`

  Sets IsMeasure flag indicating angle is result of a measure

  Signature `SetIsMeasure(isMeasure)`

  Parameters: | isMeasure (bool) –

  New in version NX11.0.0.

  License requirements: drafting (“DRAFTING”)

## Validate

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