C
by Coen on 27 Sep 2022, edited 3 Oct 2022
#

I vaguely remember a certain IFC viewer had an option, where the user could just use right mouse click and then select by type.
It was very useful. In a few clicks you could see all the IfcTypes in the model. Is there similar functionality in BlenderBIM? I haven't found it yet.
Screenshot for reference, if I select the IfcWall, I would like to see all IfcWallTypes in one click.
Maybe it already exists, but I can't find it.
M
by Moult on 27 Sep 2022
#
+2 votes
Object Properties > IFC Construction Type > Click the select icon.
C
by Coen on 27 Sep 2022
#
@Moult
Thanks, found it :-D

Could it be reduced to fewer mouse cliks?
Or is some big UI refactoring going to happen? Because for changing the IfcMaterialLayer thickness of IfcProfileDef end user have to click trough a lot of Blender UI panels etc. :-).
T
by theoryshaw on 27 Sep 2022
#
+1 votes
@Coen do you know about this functionality to assign quick keys:
Notheless, i agree it would be nice having this command more readily available in a context menu, or similar.
T
by theoryshaw on 27 Sep 2022
#
+4 votes
I got the following working as a stand alone script, but could not figure out how to incorporate it into the BB(IfcOpenShell) repo.
Video here.
import bpy
from bpy.types import Menu
def BIMobjectcontextmenu(self, context):
self.layout.separator()
self.layout.operator("bim.select_similar_type", text="Select by Type")
self.layout.operator("bim.select_type", text="Select Object's Type")
def register():
bpy.types.VIEW3D_MT_object_context_menu.append(BIMobjectcontextmenu)
def unregister():
bpy.types.VIEW3D_MT_object_context_menu.remove(BIMobjectcontextmenu)
if __name__ == "__main__":
register()
M
by Moult on 27 Sep 2022
#
+1 votes
All UI suggestions are welcome :) Would love to reduce the clicks but need clear suggestions how.
T
by theoryshaw on 28 Sep 2022
#
@Moult possible to incorporate the code above in BB? I spent many hours trying to figure how to incorporate, so if I saw an commit example, it might open my eyes to the process.
C
by Coen on 28 Sep 2022
#
@Moult
All UI suggestions are welcome :) Would love to reduce the clicks but need clear suggestions how.
I think I've seen loose comments about the UI left and right in different threads.
@duncan
@theoryshaw
Is it an idea to split this thread into a new one about UI suggestions?
T
by theoryshaw on 28 Sep 2022
#
+1 votes
I would just create new posts, per UI idea--would get messy, i think, putting it all in one thread.
M
by Moult on 28 Sep 2022
#
Unfortunately I will lose track of all these forum posts, so if there was some form of summary I could slowly check off when the time is right that would be awesome.
C
by Coen on 30 Sep 2022
#

How do I go into edit mode of all the meshes after selecting by type? I want to select coplaner faces to adjust the heigh of the IfcWallType instances
M
by Moult on 30 Sep 2022
#
+2 votes
@Coen you need at least one wall actively selected (bright orange, not dark orange). Just shift click on one wall.
In the newer version walls are much smarter and you won't need to do these tricks like coplanar face selection to adjust height, you can just type in a parameter.
D
by duncan on 3 Oct 2022
#
@theoryshaw said:
I would just create new posts, per UI idea--would get messy, i think, putting it all in one thread.
Surely the IfcOpenShell issue tracker is the place for specific suggestions - that's where they can be organized and prioritized.