Hi,
I’m trying to dynamically navigate in my network editor with python, like displaying a certain base on particular event (project1/myCurrentBase).
Using bookmarks and calling them would be eventually a solution (but not ideal). I’ve done some researches but can’t find anything… I guess I’m not searching with the good words because I can’t believe there’s nothing about it out there
Could someone point me the right direction?
Thanks in advance
Check out the documentation for stuff like this. It can be a little bit of searching but you will find what you need.
In your case you will want to have a deeper look into the ui class and its children, mainly panes.
use ui.panes.cuurrent to get the currently selected pane.
You can now change the owner of given pane to any op. And also the style. So you can change it to OP viewer, network editor, sop viewer etc.
Happy UI Hacking
1 Like
thank you, you’re spot on one more time!
I’m a bit puzzled about the way the home function is working ( a bit inconsistent behaviour to me) but it is a detail
thanks for the good tips!