Open floating network from python

Hey guys

Is there a way in python to open a Base Comp as a floating network like when you right click the Base and select “Open as floating network”? The only thing that I managed is to open it as a Viewer like this:

op(‘base1’).openViewer(unique=True, borders=True)

but I need to see its contents as nodes in the window

Thanks in advance!

look into the Panes Class

ui.panes.createFloating(type=PaneType.NETWORKEDITOR, name="My new pane") creates a new floating pane of the networkeditor, but I can’t seem to find how to make sure it opens at the path you want

If you take the pane returned from createFloating(…), you can then assign its owner to the COMP you need.
I’ve updated the wiki:

derivative.ca/wiki099/index … ss#Methods

1 Like

Ah great, thx Rob

Thank you guys!