About IfcPatch (ExtractElements) in BBIM 230902
Hi all,
I'm testing IfcPatch (ExtractElements) in BBIM 230902 (with a particular user pset property) without success.
I try the same (with the same ifc file) in BBIM 230701 with good results. The query I use is like this:
IfcElement[PSET_Name.PSET_Property ="EST"] and get expected objects.
In BBIM 230902 results are good if in query fiels on IfcPatch tab I put only the class (that is ifcWall, IfcSlab, etc.). When I add user pset properties, result file is created but without elements.
I tryed put commas in query (that is IfcElement["PSET_Name"."PSET_Property" ="EST"] ) with the same result.
Comments
Not a 100%, but it could be due to the fact that IfcPatch uses the new facet selector syntax now.
https://github.com/IfcOpenShell/IfcOpenShell/commit/a3fd169bb6edf10ac1a3c3abc516f3490adbc6b5
see here:
https://blenderbim.org/docs-python/ifcopenshell-python/selector_syntax.html
@theoryshaw thanks for the comment,
this query worked in BBIM 230902:
IfcElement, PSET_Name.PSET_ Property=EST ("EST" is my search strint)