Tools to move IFC geometry from global coordinates to local

Thanks a lot for the answers guys! I’ve been trying to figure out how to run ifcpatch from Windows. I used anaconda to install ifcopenshell. Is it possible to run ifcpatch from a python script?

I also tried to run ifcpath from Anaconda Promt like this, but got the following error:

python ifcpatch.py -i ifcfooting.ifc -o output.ifc -r ResetAbsoluteCoordinates
# Loading IFC file ...
# Loading patch recipe ...
Traceback (most recent call last):
  File "ifcpatch.py", line 52, in <module>
    execute(args)
  File "ifcpatch.py", line 12, in execute
    ifc_file, logger, args.arguments)
TypeError: __init__() takes 3 positional arguments but 4 were given