mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-27 02:31:09 +00:00
IfcOpeningElements now show up as wireframe for convenience by default
This commit is contained in:
@@ -970,6 +970,9 @@ class IfcImporter:
|
|||||||
self.add_product_definitions(element, obj)
|
self.add_product_definitions(element, obj)
|
||||||
self.add_product_representation_contexts(element, obj)
|
self.add_product_representation_contexts(element, obj)
|
||||||
self.added_data[element.GlobalId] = obj
|
self.added_data[element.GlobalId] = obj
|
||||||
|
|
||||||
|
if element.is_a("IfcOpeningElement"):
|
||||||
|
obj.display_type = "WIRE"
|
||||||
return obj
|
return obj
|
||||||
|
|
||||||
def add_element_representation_items(self, element, obj):
|
def add_element_representation_items(self, element, obj):
|
||||||
|
|||||||
Reference in New Issue
Block a user