mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-09-25 17:57:02 +00:00
Fix BlenderBIM bug Class assignement for predefined_type attribue
This commit is contained in:
@@ -100,7 +100,7 @@ class AssignClass(bpy.types.Operator):
|
|||||||
self.file = IfcStore.get_file()
|
self.file = IfcStore.get_file()
|
||||||
self.declaration = IfcStore.get_schema().declaration_by_name(self.ifc_class)
|
self.declaration = IfcStore.get_schema().declaration_by_name(self.ifc_class)
|
||||||
if self.predefined_type == "USERDEFINED":
|
if self.predefined_type == "USERDEFINED":
|
||||||
self.predefined_type = self.ifc_userdefined_type
|
self.predefined_type = self.userdefined_type
|
||||||
elif self.predefined_type == "":
|
elif self.predefined_type == "":
|
||||||
predefined_type = None
|
predefined_type = None
|
||||||
for obj in objects:
|
for obj in objects:
|
||||||
|
|||||||
Reference in New Issue
Block a user