mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-14 03:14:23 +00:00
bim.unlink_object - add description
This commit is contained in:
@@ -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"}
|
||||
|
||||
Reference in New Issue
Block a user