Hi all,
I have been playing around with Bonsai and was having some success - I was following IFC Architect's floor plan tutorial and was able to create a plan view. But at some point it just stopped working and I get an error every time I try to activate a drawing view. I tried a bunch of stuff and I think it is being caused by having the Blender properties panel in a separate window on another monitor. If I add a properties panel on my main monitor with the 3d viewport it seems to work fine. I also just tried adding a 3d viewport on the second monitor and that caused blender to crash and close immediately.
I have gotten used to using Blender this way with 2 monitors, so hopefully this is something that Bonsai can support in a future release.
Traceback (most recent call last):
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 1791, in invoke
return self.execute(context)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 1806, in execute
core.activate_drawing_view(tool.Ifc, tool.Blender, tool.Drawing, drawing=drawing)
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\core\drawing.py", line 492, in activate_drawing_view
drawing_tool.activate_drawing(camera)
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\tool\drawing.py", line 1824, in activate_drawing
with bpy.context.temp_override(area=next(a for a in bpy.context.screen.areas if a.type == "VIEW_3D")):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration
Error: Python: Traceback (most recent call last):
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 1791, in invoke
return self.execute(context)
^^^^^^^^^^^^^^^^^^^^^
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\bim\module\drawing\operator.py", line 1806, in execute
core.activate_drawing_view(tool.Ifc, tool.Blender, tool.Drawing, drawing=drawing)
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\core\drawing.py", line 492, in activate_drawing_view
drawing_tool.activate_drawing(camera)
File "D:\Documents D\BIM Projects\blender for bim\portable\extensions.local\lib\python3.11\site-packages\bonsai\tool\drawing.py", line 1824, in activate_drawing
with bpy.context.temp_override(area=next(a for a in bpy.context.screen.areas if a.type == "VIEW_3D")):
^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
StopIteration>