You can now switch contexts of of objects in bulk

This commit is contained in:
Dion Moult
2022-09-19 15:59:37 +10:00
parent 57e8e47061
commit 18387e7732
8 changed files with 58 additions and 37 deletions
+2 -1
View File
@@ -56,11 +56,12 @@ Here is a minimal example of how to use IfcDiff as a library:
import ifcpatch
ifcpatch.execute({
output = ifcpatch.execute({
"input": ifcopenshell.open("input.ifc"),
"recipe": "ExtractElements",
"arguments": [".IfcWall"],
})
ifcpatch.write(output, "output.ifc")
You can also alias it to a command: