CombinedFilter

class rips.CombinedFilter(pb2_object: PdmObject | None = None, channel: Channel | None = None)

Bases: CellFilter

combine_mode

One of [AND, OR]

Type:

CombineMode

Methods Summary

add_property_filter([result_variable, ...])

Add a new property filter as a child of this combined filter

add_range_filter([name, start_i, start_j, ...])

Add a new IJK range filter as a child of this combined filter

filters()

Filters

Methods Documentation

add_property_filter(result_variable: str = '', result_type: str = '') CellPropertyFilter

Add a new property filter as a child of this combined filter

Parameters:
  • result_variable (str)

  • result_type (str)

Returns:

CellPropertyFilter

add_range_filter(name: str = '', start_i: int = -1, start_j: int = -1, start_k: int = -1, cell_count_i: int = -1, cell_count_j: int = -1, cell_count_k: int = -1) CellRangeFilter

Add a new IJK range filter as a child of this combined filter

Parameters:
  • name (str)

  • start_i (int)

  • start_j (int)

  • start_k (int)

  • cell_count_i (int)

  • cell_count_j (int)

  • cell_count_k (int)

Returns:

CellRangeFilter

filters() List[CellFilter]

Filters

Returns:

List[CellFilter]