How do I write a script that would goto my custom workspace and initiate the mode set.
I want it so when I swipe to Modelling in my pie menu it chooses my "Modelling" workspace and goes to object mode, not edit mode.
I have pie menus installed, will I write it in script from then run it from pie.
here are some of the code snippets I've managed to collect.
wm.context_set_id Context Attribute: window.workspace Value: Modeling object.mode_set
wm.context_set_id Context Attribute: window.workspace Value: Sculpting sculpt.mode_set