Anyone had any luck extracting IfcMaterial with IFC Patch in Blender (with the latest BlenderBIM release)?
The queries that I've tried did not yield any results:
.IfcMaterial[material.Name="value"]
.IfcMaterial[Name="value"]
Anyone had any luck extracting IfcMaterial with IFC Patch in Blender (with the latest BlenderBIM release)?
The queries that I've tried did not yield any results:
.IfcMaterial[material.Name="value"]
.IfcMaterial[Name="value"]
It's...
.IfcElement[material.Name="value"]
if you want all the objects that have the material value
assigned to them.
or
.IfcWall[material.Name="value"]
if you want all the ifcwall objects that have the material value
assigned to them.
etc., etc...
@theoryshaw I tried using that query in a test file that with four walls with different material assignments (single, layered, constituent and profile), that each include the same material, but eg. selector.parse(file, '.IfcWall[material.Name="Material1"]')
only returns the wall with single material. If I understand https://github.com/IfcOpenShell/IfcOpenShell/pull/2503 correctly, it should return all four walls, right?
I'm using ifcopenshell included in blenderbim, noticed there are some minor differences between that util/selector.py
and the 'regular' one, but doesn't seem like that would make a difference?
Login or Register to reply.