J
by jes_r on 21 Feb 2024, edited 24 Nov 2024
#
Hi,
I tried to make my own doortype, following IfcArchitect's window tutorial, which works. When I try to change the 2D representation it doesn't work however. I can't join them with ctrl+J like he does, only if I RMB and then click join. But they are joined, so I think that doesn't matter. But when I load the normal model representation and then the 2D representation only the original trace outline is shown. My 2D rep is nowhere to be seen.
(model with my wanted 2D rep)
(before joining)
(after joining)
(after switching rep to model and back)
The file is of the door I'm trying to make, but as you can see a normal cube gives the same problem.
Blender 3.6.8 with BBIM 240220
Does anybody know a solution? Thanks!
T
by theoryshaw on 21 Feb 2024
#
+3 votes
Try this, after you join it, use 'Manually Save Representation'.
video:
T
by theoryshaw on 21 Feb 2024
#
Would think finding a way to eliminate this step would be good.
https://github.com/IfcOpenShell/IfcOpenShell/issues/4349
J
by jes_r on 23 Feb 2024
#
@theoryshaw Amazing, ty! It works now if I click on manually save again after changing the 2D rep to only display the 2D I want (see image).
The weird thing is that my ctrl+J doesn't work as described in the Github issue, and ifc join doesn't show up either. Might be because I'm using the latest bbim versions.

Also, is there a simpler way to reload a type? Such as unlinking the library and types and relinking it? Because right now I needed to duplicate the doortype and the 2D rep, unlink ifc class, relink, apply the 2D rep again and save it under another name.
Thanks!
T
by theoryshaw on 23 Feb 2024
#
When you type in any bim.
commands, does anything show up?
S
by steverugi on 23 Feb 2024
#
+2 votes
thanks @theoryshaw very useful tip
Try this, after you join it, use 'Manually Save Representation'.
procedure from the video (for those like me who find difficult to understand the process..)
- this a door (an IfcDoorType, turn it on in the Outliner)

- and this is its PLAN_VIEW Annotation2D

- I want to add handles to it (they are separate meshes)

- Select them first and select the door last holding the
shift
key

- now select the
Join
from the drop down menu activated by pressing the right button of the mouse

- and finally click on
Manually Save Representation

- now the new installed door has its handles when in 2D representation

hope it helps, thanks again @theoryshaw !
G
by Gorgious on 23 Feb 2024, edited 23 Feb 2024
#
+2 votes
You need to enable "Developer Extras" in the preferences to be able to see the shortcuts. The reason is because only operators that have been added to a UI element (panel, menu, header) appear in the search queries by default. I think it's dumb but the Blender devs decided so a few versions ago. So either you enable the setting in the preferences or we add the operator to a hidden menu to force it to appear to non-dev users.
B
by bleh on 23 Nov 2024
#
I tried this workflow and it is not working for me. When working with a door type, I can create the plan view by adding Plan/Body/Plan_View and selecting "trace outline". After it is created if I switch to the tesselation view and then back to the plan view, the plan view disappears.
I also have the issue that ctrl+J shortcut doesn't work for plan view objects. It works fine on the model view though. Selecting join or ifc join from the menus works for plan view objects.
(I am using Bonsai v 0.8.0)
T
by theoryshaw on 24 Nov 2024
#
Yes, this seems like an error. I can replicate. Can you post an issue at: https://github.com/IfcOpenShell/IfcOpenShell/issues/new
B
by bleh on 24 Nov 2024
#
Thanks for verifying. Issue has been posted.