EdgeTangentRule Class — NXOpen Python API Reference 12.0.0 documentation

# EdgeTangentRule Class

class `NXOpen.``EdgeTangentRule`

  Bases: `NXOpen.SelectionIntentRule`

  Represents a `NXOpen.SelectionIntentRule` that collects tangent connected edges from the body of the seed edge.

  New in version NX3.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 edge tangent rule: `NXOpen.EdgeTangentRule`

# Method Detail

## Dispose

`EdgeTangentRule.``Dispose`

  Frees the object from memory.

  Signature `Dispose()`

  New in version NX3.0.0.

  License requirements: None.

## GetData

`EdgeTangentRule.``GetData`

  Gets the data for the edge tangent rule: `NXOpen.EdgeTangentRule`

  Signature `GetData()`

  Returns: | a tuple
  Return type: | A tuple consisting of (startEdge, endEdge, isFromStart, angleTolerance, hasSameConvexity)

  startEdge is a `NXOpen.Edge`. Start edge of edge tangent ruleendEdge is a `NXOpen.Edge`. End edge of edge tangent rule. It can be null (Nothing).isFromStart is a bool. True: the tangent starts from the start point of the start edge if end edge is providedangleTolerance is a float. Angle tolerance for tangent edges hasSameConvexity is a bool. True: will only find tangnet edges that has the same convexity .. versionadded:: NX3.0.0

  License requirements: gateway (“UG GATEWAY”)