diff --git a/src/blenderbim/blenderbim/bim/__init__.py b/src/blenderbim/blenderbim/bim/__init__.py index 599ef01926..2f4ebe4eb1 100644 --- a/src/blenderbim/blenderbim/bim/__init__.py +++ b/src/blenderbim/blenderbim/bim/__init__.py @@ -87,7 +87,7 @@ classes = [ operator.AddIfcFile, operator.RemoveIfcFile, operator.ConfigureVisibility, - operator.BIM_OT_show_attribute_documentation, + operator.BIM_OT_show_ifc_documentation, operator.BIM_OT_open_webbrowser, prop.StrProperty, prop.ObjProperty, diff --git a/src/blenderbim/blenderbim/bim/helper.py b/src/blenderbim/blenderbim/bim/helper.py index d10f74c948..c8be6d5bc5 100644 --- a/src/blenderbim/blenderbim/bim/helper.py +++ b/src/blenderbim/blenderbim/bim/helper.py @@ -49,7 +49,7 @@ def draw_attribute(attribute, layout, copy_operator=None, info_mode=False): op = layout.operator(f"{copy_operator}", text="", icon="COPYDOWN") op.name = attribute.name if info_mode: - info_op = layout.operator("bim.show_attribute_documentation", icon="INFO", text="") + info_op = layout.operator("bim.show_ifc_documentation", icon="INFO", text="") info_op.path = f"{attribute.path_from_id()}" @@ -109,7 +109,6 @@ def get_ifc_class_usecase(class_name): yield "This is a usecase" yield "You are supposed to use this class in this situation" yield "Or that situation" - yield "Otherwise you'll be in trouble !!" def export_attributes(props, callback=None): diff --git a/src/blenderbim/blenderbim/bim/operator.py b/src/blenderbim/blenderbim/bim/operator.py index 8d02bb530c..d69a619305 100644 --- a/src/blenderbim/blenderbim/bim/operator.py +++ b/src/blenderbim/blenderbim/bim/operator.py @@ -376,8 +376,8 @@ class BIM_OT_open_webbrowser(bpy.types.Operator): return {"FINISHED"} -class BIM_OT_show_attribute_documentation(bpy.types.Operator): - bl_idname = "bim.show_attribute_documentation" +class BIM_OT_show_ifc_documentation(bpy.types.Operator): + bl_idname = "bim.show_ifc_documentation" bl_label = "" path: bpy.props.StringProperty()