FaceAndAdjacentFacesRule Class — NXOpen Python API Reference 12.0.0 documentation

# FaceAndAdjacentFacesRule Class

class `NXOpen.``FaceAndAdjacentFacesRule`

  Bases: `NXOpen.SelectionIntentRule`

  Represents a `NXOpen.SelectionIntentRule` that collects both the seed face and all its adjacent faces.

  New in version NX7.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 and adjacent faces rule: `NXOpen.FaceAndAdjacentFacesRule`

# Method Detail

## Dispose

`FaceAndAdjacentFacesRule.``Dispose`

  Frees the object from memory.

  Signature `Dispose()`

  New in version NX7.0.0.

  License requirements: None.

## GetData

`FaceAndAdjacentFacesRule.``GetData`

  Gets the data for the face and adjacent faces rule: `NXOpen.FaceAndAdjacentFacesRule`

  Signature `GetData()`

  Returns: | Faces which create this rule
  Return type: | list of `NXOpen.Face`

  New in version NX7.0.0.

  License requirements: gateway (“UG GATEWAY”)