data.py rename for consistency

This commit is contained in:
Andrej730
2023-12-12 16:14:19 +05:00
parent 128afc53f0
commit 6bbb509c09
@@ -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():