From f7fdb8cc810c22372bc3011f8094e627283d2fae Mon Sep 17 00:00:00 2001 From: Andrej730 Date: Wed, 9 Jul 2025 17:52:54 +0500 Subject: [PATCH] bim.attribute_search_values - rearrange props for readability --- src/bonsai/bonsai/bim/operator.py | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) diff --git a/src/bonsai/bonsai/bim/operator.py b/src/bonsai/bonsai/bim/operator.py index 7a72075eba..c45c6a0c44 100644 --- a/src/bonsai/bonsai/bim/operator.py +++ b/src/bonsai/bonsai/bim/operator.py @@ -1336,7 +1336,7 @@ class BIM_OT_attribute_search_values(bpy.types.Operator): bl_description = "Search for attribute values within a collection" bl_options = {"REGISTER", "UNDO"} - first_launch: bpy.props.BoolProperty(default=True, options={"SKIP_SAVE"}) + # Required properties. attribute_name: bpy.props.StringProperty(name="Attribute Name") attribute_ifc_class: bpy.props.StringProperty(name="Attribute IFC Class") data_path: bpy.props.StringProperty(name="Data Path") @@ -1344,6 +1344,9 @@ class BIM_OT_attribute_search_values(bpy.types.Operator): name="Data Type", items=[(i, i, "") for i in get_args(AttributeSearchDataType)], ) + + # Internal properties. + first_launch: bpy.props.BoolProperty(default=True, options={"SKIP_SAVE"}) search_value: bpy.props.StringProperty( name="Search", description="Search for attribute values",