bim.unlink_object - add description

This commit is contained in:
Andrej730
2024-06-25 13:49:28 +05:00
parent 17eb45fb4e
commit 5d6215d889
2 changed files with 7 additions and 1 deletions
@@ -214,6 +214,12 @@ class AssignClass(bpy.types.Operator, Operator):
class UnlinkObject(bpy.types.Operator):
bl_idname = "bim.unlink_object"
bl_label = "Unlink Object"
bl_description = (
"Unlink Blender object from it's linked IFC element.\n\n"
"You can either remove element the blender object is linked to from IFC or keep it. "
"Note that keeping the unlinked element in IFC might lead to unpredictable issues "
"and should be used only by advanced users"
)
bl_options = {"REGISTER", "UNDO"}
obj: bpy.props.StringProperty(name="Object Name")
should_delete: bpy.props.BoolProperty(name="Delete IFC Element", default=True)
@@ -99,7 +99,7 @@ class UnlinkStyle(bpy.types.Operator, tool.Ifc.Operator):
bl_description = (
"Unlink Blender material from it's linked IFC style.\n\n"
"You can either remove style the material is linked to from IFC or keep it. "
"Note that keeping the unlinked style in IFC might lead to unpredictable issues"
"Note that keeping the unlinked style in IFC might lead to unpredictable issues "
"and should be used only by advanced users"
)
bl_options = {"REGISTER", "UNDO"}