ifcpatch.recipes.AddLinearPlacementFallbackPosition

Module Contents

class ifcpatch.recipes.AddLinearPlacementFallbackPosition.Patcher(file: ifcopenshell.file, logger: logging.Logger | None = None)

Bases: ifcpatch.BasePatcher

Adds the IfcLinearPlacement.CartesianPosition fallback position to all of the IfcLinearPlacement objects in the file

Example:

model = ifcpatch.execute({"input": "input.ifc", "file": model, "recipe": "AddLinearPlacementFallbackPosition"})
patch()
file_patched: ifcopenshell.file