mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 09:48:32 +00:00
See #3700. Fix issue in drawing include filter where "addition" selections like GlobalIds and classes didn't have any impact.
This commit is contained in:
@@ -1509,7 +1509,7 @@ class Drawing(blenderbim.core.tool.Drawing):
|
||||
elements = cls.get_elements_in_camera_view(tool.Ifc.get_object(drawing), bpy.data.objects)
|
||||
include = pset.get("Include", None)
|
||||
if include:
|
||||
elements = ifcopenshell.util.selector.filter_elements(ifc_file, include, elements=elements)
|
||||
elements = ifcopenshell.util.selector.filter_elements(ifc_file, include)
|
||||
else:
|
||||
if tool.Ifc.get_schema() == "IFC2X3":
|
||||
base_elements = set(ifc_file.by_type("IfcElement") + ifc_file.by_type("IfcSpatialStructureElement"))
|
||||
|
||||
Reference in New Issue
Block a user