mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
You can now switch contexts of of objects in bulk
This commit is contained in:
@@ -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:
|
||||
|
||||
|
||||
Reference in New Issue
Block a user