How to switch between layouts
Hi, I'm experimenting with different layouts. I'm wondering how to switch from one layout to another. It's supposed to be possible from the 'I want to..' menu, right? Is there a custom command to do this?
-
Hi Yannick,
Yes, if you define a custom command and configure the id of the layout, as bolded below, then you can switch between available layouts.
[
{
"name": "viewer.load-layout",
"arguments": "item://layout/layout1"
}
]
We don't currently have a method within Designer to find out what the id is, but if you download the saved app.json, you can find the id, which will be near the top of the file, similar to '45de7822-ee8a-4b8b-a080-d36888d8a7bc'.
Thanks, Stefan
0 -
Thanks Stefan, works like a charm!
For future reference; the layout id (layout1) equals the name of the layout xml file. In my case these were "desktop-landscape" and "Main-3D-2-jj77ebolpl", so it's partly readable.
0
Vous devez vous connecter pour laisser un commentaire.
Commentaires
2 commentaires