CurveTangentRule Class — NXOpen Python API Reference 12.0.0 documentation

# CurveTangentRule Class

class `NXOpen.``CurveTangentRule`

  Bases: `NXOpen.SelectionIntentRule`

  Represents a `NXOpen.SelectionIntentRule` that collects tangent connected curves from the seed curve.

  New in version NX9.0.0.

# Properties

Property | Description
--- | ---
Type | Returns the get the type of selection intent rule: `NXOpen.SelectionIntentRule`

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.
GetData | Gets the data for the curve tangent rule: `NXOpen.CurveTangentRule`

# Method Detail

## Dispose

`CurveTangentRule.``Dispose`

  Frees the object from memory.

  Signature `Dispose()`

  New in version NX9.0.0.

  License requirements: None.

## GetData

`CurveTangentRule.``GetData`

  Gets the data for the curve tangent rule: `NXOpen.CurveTangentRule`

  Signature `GetData()`

  Returns: | a tuple
  Return type: | A tuple consisting of (seedCurve, endCurve, isFromSeedStart, angleTolerance, gapTolerance)

  seedCurve is a `NXOpen.Curve`. Seed curve endCurve is a `NXOpen.Curve`. End curve. It can be null (Nothing) isFromSeedStart is a bool. True: the chain starts from the start point of the seed curve angleTolerance is a float. Angle tolerance for tangent curves gapTolerance is a float. Gap tolerance for tangent curves .. versionadded:: NX9.0.0

  License requirements: None.