FaceTangentRule Class — NXOpen Python API Reference 12.0.0 documentation

# FaceTangentRule Class

class `NXOpen.``FaceTangentRule`

  Bases: `NXOpen.SelectionIntentRule`

  Represents a `NXOpen.SelectionIntentRule` that collects tangent connected faces from the body of the seed face.

  New in version NX4.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 face tangent rule: `NXOpen.FaceTangentRule`

# Method Detail

## Dispose

`FaceTangentRule.``Dispose`

  Frees the object from memory.

  Signature `Dispose()`

  New in version NX4.0.0.

  License requirements: None.

## GetData

`FaceTangentRule.``GetData`

  Gets the data for the face tangent rule: `NXOpen.FaceTangentRule`

  Signature `GetData()`

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

  startFace is a `NXOpen.Face`. Start face of face tangent ruleendFace is a `NXOpen.Face`. End face of face tangent rule. It can be null (Nothing).isFromStart is a bool. True: the tangent starts from the start point of the start face if end face is providedangleTolerance is a float. Angle tolerance for tangent faces hasSameConvexity is a bool. True: will only find tangnet faces that has the same convexity .. versionadded:: NX4.0.0

  Deprecated since version NX8.0.0: This functionality is no longer supported.

  License requirements: gateway (“UG GATEWAY”)