mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-10-02 21:12:07 +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):
|
class UnlinkObject(bpy.types.Operator):
|
||||||
bl_idname = "bim.unlink_object"
|
bl_idname = "bim.unlink_object"
|
||||||
bl_label = "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"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
obj: bpy.props.StringProperty(name="Object Name")
|
obj: bpy.props.StringProperty(name="Object Name")
|
||||||
should_delete: bpy.props.BoolProperty(name="Delete IFC Element", default=True)
|
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 = (
|
bl_description = (
|
||||||
"Unlink Blender material from it's linked IFC style.\n\n"
|
"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. "
|
"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"
|
"and should be used only by advanced users"
|
||||||
)
|
)
|
||||||
bl_options = {"REGISTER", "UNDO"}
|
bl_options = {"REGISTER", "UNDO"}
|
||||||
|
|||||||
Reference in New Issue
Block a user