Don’t bake on layouts

Hey, I have several actions that are triggered on button press (HumanUI). Those actions bake geometry to the model space with the elefront bake component (could be any other). The annoying thing is that sometimes I´m in the layout view and when I trigger the generation the geometry is baked “on” the layout. It´s not the biggest problem in the world but I use my script on a daily basis so it would be awesome to get rid of this problem:

Bake components:

Baking on layouts:

Similar problem:

I think your you have open the layout and baked (or selected the layout)
instead u can try to open the model space and then press the bake button

1 Like

From another perspective, this is a feature, not a bug. The only way to bake to a layout is if that layout is active. Make that impossible, and that’s a different problem.

2 Likes

…yeah I´ve manged to disable the baking on the layout by checking the current viewport type before baking…

1 Like