IfcPatch now uses the new facet selector syntax.

This commit is contained in:
Dion Moult
2023-08-23 17:09:51 +10:00
parent 51e6d51a0d
commit 2e8c218415
2 changed files with 6 additions and 7 deletions
+2 -2
View File
@@ -47,7 +47,7 @@ In this example, we'll extract out all `IfcWall` elements.
::
$ ifcpatch -i input.ifc -o output.ifc -r ExtractElements -a ".IfcWall"
$ ifcpatch -i input.ifc -o output.ifc -r ExtractElements -a "IfcWall"
$ cat output.ifc
Here is a minimal example of how to use IfcPatch as a library:
@@ -60,7 +60,7 @@ Here is a minimal example of how to use IfcPatch as a library:
"input": "input.ifc",
"file": ifcopenshell.open("input.ifc"),
"recipe": "ExtractElements",
"arguments": [".IfcWall"],
"arguments": ["IfcWall"],
})
ifcpatch.write(output, "output.ifc")