color by property - add operators descriptions

This commit is contained in:
Andrej730
2025-05-02 12:20:34 +05:00
parent 9ae7a68c43
commit 2382f8d7f8
2 changed files with 8 additions and 1 deletions
@@ -239,6 +239,7 @@ class LoadSearch(Operator, tool.Ifc.Operator):
class ColourByProperty(Operator):
bl_idname = "bim.colour_by_property"
bl_label = "Colour by Property"
bl_description = "Color all visible objects by the provided property."
bl_options = {"REGISTER", "UNDO"}
def execute(self, context):
@@ -365,6 +366,7 @@ class ColourByProperty(Operator):
class SelectByProperty(Operator):
bl_idname = "bim.select_by_property"
bl_label = "Select by Property"
bl_description = "Select objects based on currently selected colored property value."
bl_options = {"REGISTER", "UNDO"}
@classmethod
+6 -1
View File
@@ -202,7 +202,12 @@ class BIMSearchProperties(PropertyGroup):
filter_classes_index: IntProperty(name="Filter Classes Index")
filter_container: CollectionProperty(type=BIMFilterBuildingStoreys, name="Filter Level")
filter_container_index: IntProperty(name="Filter Level Index")
show_flat_colours: BoolProperty(name="Flat Colours", default=False, update=update_show_flat_colours)
show_flat_colours: BoolProperty(
name="Flat Colours",
description="Toggle flat shading in the active viewport.",
default=False,
update=update_show_flat_colours,
)
if TYPE_CHECKING:
element_key: str