MCPcopy Create free account
hub / github.com/IfcOpenShell/IfcOpenShell / list_rules

Function list_rules

src/ifcedit/ifcedit/quantify.py:11–13  ·  view source on GitHub ↗

Return a list of available quantification rule names.

()

Source from the content-addressed store, hash-verified

9
10
11def list_rules() -> list[dict[str, str]]:
12 """Return a list of available quantification rule names."""
13 return [{"name": name} for name in AVAILABLE_RULES]
14
15
16def run_quantify(model: ifcopenshell.file, rule: str, selector: str | None = None) -> dict[str, Any]:

Callers 5

test_returns_listMethod · 0.90
cmd_quantifyFunction · 0.90

Calls

no outgoing calls

Tested by 4

test_returns_listMethod · 0.72