nuke.getPaneFor

nuke.getPaneFor(panelName) Dock

Returns the first pane that contains the named panel or None if it can’t be found. Note that the panelName must be exact as described in the layout.xml file or the panel ID. For example, ‘Properties.1’ or ‘Viewer.1 or ‘co.uk.thefoundry.WebBrowser’

Returns:

The pane or None.