CurveLengthBuilder Class — NXOpen Python API Reference 12.0.0 documentation

# CurveLengthBuilder Class

class `NXOpen.GeometricUtilities.``CurveLengthBuilder`

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

  Represents a `NXOpen.GeometricUtilities.CurveLengthBuilder` builder

  New in version NX12.0.0.

# Properties

Property | Description
--- | ---
EndOffset0 | Returns the end 1 length
EndOffset1 | Returns the end 2 length
EndSelection0 | Returns the select object for end 1
EndSelection1 | Returns the select object for end 2
EndType0 | Returns or sets the end 1 type
EndType1 | Returns or sets the end 2 type
ReverseEndOffset0Direction | Returns or sets the reverse endOffset0 direction flag.
ReverseEndOffset1Direction | Returns or sets the reverse endOffset1 direction flag.
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.

# Enumerations

CurveLengthBuilderEndObjectType Enumeration | This attribute represents end type

# Property Detail

## EndOffset0

`CurveLengthBuilder.``EndOffset0`

  Returns the end 1 length

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

  Getter Method

  Signature `EndOffset0`

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

  New in version NX12.0.0.

  License requirements: None.

## EndOffset1

`CurveLengthBuilder.``EndOffset1`

  Returns the end 2 length

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

  Getter Method

  Signature `EndOffset1`

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

  New in version NX12.0.0.

  License requirements: None.

## EndSelection0

`CurveLengthBuilder.``EndSelection0`

  Returns the select object for end 1

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

  Getter Method

  Signature `EndSelection0`

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

  New in version NX12.0.0.

  License requirements: None.

## EndSelection1

`CurveLengthBuilder.``EndSelection1`

  Returns the select object for end 2

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

  Getter Method

  Signature `EndSelection1`

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

  New in version NX12.0.0.

  License requirements: None.

## EndType0

`CurveLengthBuilder.``EndType0`

  Returns or sets the end 1 type

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

  Getter Method

  Signature `EndType0`

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

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EndType0`

  Parameters: | endType0 (`NXOpen.GeometricUtilities.CurveLengthBuilderEndObjectType`) –

  New in version NX12.0.0.

  License requirements: None.

## EndType1

`CurveLengthBuilder.``EndType1`

  Returns or sets the end 2 type

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

  Getter Method

  Signature `EndType1`

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

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `EndType1`

  Parameters: | endType1 (`NXOpen.GeometricUtilities.CurveLengthBuilderEndObjectType`) –

  New in version NX12.0.0.

  License requirements: None.

## ReverseEndOffset0Direction

`CurveLengthBuilder.``ReverseEndOffset0Direction`

  Returns or sets the reverse endOffset0 direction flag.

  Indicates whether the endOffset0 direction has been flipped from its initial inferred direction

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

  Getter Method

  Signature `ReverseEndOffset0Direction`

  Returns: |
  Return type: | bool

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReverseEndOffset0Direction`

  Parameters: | reverseEndOffset0Direction (bool) –

  New in version NX12.0.0.

  License requirements: None.

## ReverseEndOffset1Direction

`CurveLengthBuilder.``ReverseEndOffset1Direction`

  Returns or sets the reverse endOffset1 direction flag.

  Indicates whether the endOffset1 direction has been flipped from its initial inferred direction

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

  Getter Method

  Signature `ReverseEndOffset1Direction`

  Returns: |
  Return type: | bool

  New in version NX12.0.0.

  License requirements: None.

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

  Setter Method

  Signature `ReverseEndOffset1Direction`

  Parameters: | reverseEndOffset1Direction (bool) –

  New in version NX12.0.0.

  License requirements: None.

# Method Detail

## Validate

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