mirror of
https://github.com/IfcOpenShell/IfcOpenShell.git
synced 2026-08-10 17:58:20 +00:00
Add descriptions to IFC Search function (#1618)
* Added descriptions to IFC Search function * change color to colour
This commit is contained in:
@@ -40,6 +40,7 @@ def does_keyword_exist(pattern, string, context):
|
||||
|
||||
|
||||
class SelectGlobalId(bpy.types.Operator):
|
||||
"""Click to select the objects that match with the given Global ID"""
|
||||
bl_idname = "bim.select_global_id"
|
||||
bl_label = "Select GlobalId"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -60,6 +61,7 @@ class SelectGlobalId(bpy.types.Operator):
|
||||
|
||||
|
||||
class SelectIfcClass(bpy.types.Operator):
|
||||
"""Click to select all objects that match with the given IFC class"""
|
||||
bl_idname = "bim.select_ifc_class"
|
||||
bl_label = "Select IFC Class"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -77,6 +79,7 @@ class SelectIfcClass(bpy.types.Operator):
|
||||
|
||||
|
||||
class SelectAttribute(bpy.types.Operator):
|
||||
"""Click to select all objects that match with the given Attribute Name and Value"""
|
||||
bl_idname = "bim.select_attribute"
|
||||
bl_label = "Select Attribute"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -101,6 +104,7 @@ class SelectAttribute(bpy.types.Operator):
|
||||
|
||||
|
||||
class SelectPset(bpy.types.Operator):
|
||||
"""Click to select all objects that match with the given Pset Name, Properties Name and Value"""
|
||||
bl_idname = "bim.select_pset"
|
||||
bl_label = "Select Pset"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -133,6 +137,7 @@ class SelectPset(bpy.types.Operator):
|
||||
|
||||
|
||||
class ColourByAttribute(bpy.types.Operator):
|
||||
"""Click to colour different objects according to given Attribute Name"""
|
||||
bl_idname = "bim.colour_by_attribute"
|
||||
bl_label = "Colour by Attribute"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -182,6 +187,7 @@ class ColourByAttribute(bpy.types.Operator):
|
||||
|
||||
|
||||
class ColourByPset(bpy.types.Operator):
|
||||
"""Click to colour different objects according to given Prop Name"""
|
||||
bl_idname = "bim.colour_by_pset"
|
||||
bl_label = "Colour by Pset"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -239,6 +245,7 @@ class ColourByPset(bpy.types.Operator):
|
||||
|
||||
|
||||
class ColourByClass(bpy.types.Operator):
|
||||
"""Click to colour different objects according to their IFC Classes"""
|
||||
bl_idname = "bim.colour_by_class"
|
||||
bl_label = "Colour by Class"
|
||||
bl_options = {"REGISTER", "UNDO"}
|
||||
@@ -283,6 +290,7 @@ class ColourByClass(bpy.types.Operator):
|
||||
|
||||
|
||||
class ResetObjectColours(bpy.types.Operator):
|
||||
"""Reset the colour of selected objects"""
|
||||
bl_idname = "bim.reset_object_colours"
|
||||
bl_label = "Reset Colours"
|
||||
|
||||
|
||||
Reference in New Issue
Block a user