ColorRegionRule Class — NXOpen Python API Reference 12.0.0 documentation

# ColorRegionRule Class

class `NXOpen.``ColorRegionRule`

  Bases: `NXOpen.FacetSelectionRule`

  Represents a `NXOpen.FacetSelectionRule` that chains to collect all connected facets of same color.

  New in version NX12.0.0.

# Methods

Method | Description
--- | ---
Dispose | Frees the object from memory.
GetData | Gets the data for the color region rule: `NXOpen.ColorRegionRule`

# Method Detail

## Dispose

`ColorRegionRule.``Dispose`

  Frees the object from memory.

  Signature `Dispose()`

  New in version NX12.0.0.

  License requirements: None.

## GetData

`ColorRegionRule.``GetData`

  Gets the data for the color region rule: `NXOpen.ColorRegionRule`

  Signature `GetData()`

  Returns: | the seed facet
  Return type: | `NXOpen.IFacet`

  New in version NX12.0.0.

  License requirements: gateway (“UG GATEWAY”)