Quote {id} placeholders in examples (issue #8101)

Shell {} expressions require quoting
This commit is contained in:
Bruno Postle
2026-05-24 20:25:23 +01:00
committed by Thomas Krijnen
parent 9df91d668b
commit 8013fd5902
4 changed files with 9 additions and 9 deletions
+2 -2
View File
@@ -474,11 +474,11 @@ ifcedit run model.ifc spatial.unassign_container \
--products "$(ifcquery model.ifc --format ids select 'IfcWall')"
# Delete every window (model opened and saved once)
ifcquery model.ifc select 'IfcWindow' | ifcedit foreach model.ifc root.remove_product --product {id}
ifcquery model.ifc select 'IfcWindow' | ifcedit foreach model.ifc root.remove_product --product '{id}'
# Bulk rename all doors
ifcquery model.ifc select 'IfcDoor' | ifcedit foreach model.ifc attribute.edit_attributes \
--product {id} --attributes '{"Name": "Door"}'
--product '{id}' --attributes '{"Name": "Door"}'
# Render an element highlighted against everything related to it
ifcquery model.ifc render relations.png \