ifcpatch.recipes.ExtractPropertiesToSQLite¶
Module Contents¶
- class ifcpatch.recipes.ExtractPropertiesToSQLite.Patcher(file: ifcopenshell.file, logger: logging.Logger | None = None)¶
Bases:
ifcpatch.BasePatcherExtracts properties and relationships from a IFC-SPF model to SQLite.
This is a lossy extraction which simplifies popular properties to key value pairs.
Example:
result = ifcpatch.execute({"input": fn, "file": model, "recipe": "ExtractPropertiesToSQLite"}) ifcpatch.write(result, "output.sqlite")
- patch()¶