From 6bbb509c09ba2293b81296f5d1d302b4c57500de Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Tue, 12 Dec 2023 16:14:19 +0500 Subject: [PATCH] data.py rename for consistency --- src/blenderbim/blenderbim/bim/module/style/data.py | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) 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():