mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-11 02:02:22 +00:00
data.py rename for consistency
This commit is contained in:
@@ -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():
|
||||
|
||||
Reference in New Issue
Block a user