Add filter_mode property to BIMFacet for selection management (#7548)

This commit is contained in:
falken10vdl
2026-01-10 15:24:04 +01:00
committed by GitHub
parent b78db3cae0
commit 8205408a66
+9
View File
@@ -791,12 +791,21 @@ class BIMFacet(PropertyGroup):
("!*=", "does not contain", ""),
],
)
filter_mode: EnumProperty(
items=[
("ADD", "Add", "Add results to the current selection"),
("SUBTRACT", "Subtract", "Remove results from the current selection"),
("FILTER", "Filter", "Filter the current selection"),
],
default="ADD",
)
if TYPE_CHECKING:
pset: str
value: str
type: str
comparison: Literal["=", "!=", ">=", "<=", ">", "<", "*=", "!*="]
filter_mode: Literal["ADD", "SUBTRACT", "FILTER"]
class BIMFilterGroup(PropertyGroup):