diff --git a/src/blenderbim/blenderbim/bim/module/style/data.py b/src/blenderbim/blenderbim/bim/module/style/data.py index c873d5f9e4..0863e9623a 100644 --- a/src/blenderbim/blenderbim/bim/module/style/data.py +++ b/src/blenderbim/blenderbim/bim/module/style/data.py @@ -78,7 +78,7 @@ class StyleAttributesData: def load(cls): cls.data = { "ifc_style_id": cls.ifc_style_id(), - "attributes": cls.get_attributes(), + "attributes": cls.attributes(), } cls.is_loaded = True @@ -87,7 +87,7 @@ class StyleAttributesData: return bpy.context.active_object.active_material.BIMMaterialProperties.ifc_style_id @classmethod - def get_attributes(cls): + def attributes(cls): style = tool.Ifc.get().by_id(bpy.context.active_object.active_material.BIMMaterialProperties.ifc_style_id) results = [] for name, value in style.get_info().items():