To close the panel for that node it would be node.hideControlPanel()
Peter. ________________________________________ From: Olivier Jezequel [[email protected]] Sent: 28 July 2011 17:23 To: Nuke Python discussion Subject: Re: [Nuke-python] open property panel by python Thanks Michael, that works perfectly I didn't find neither the way to close the panel. There is a fonction nuke.hideControlPanel() but i didn't find the way to make it work i tried that : ----------------------- nuke.thisNode().begin() nuke.show(nuke.toNode('name of node')) nuke.hideControlPanel(nuke.toNode('name of node')) nuke.thisNode().end() ------------------------ but the hideControlPanel returned me an error. In the doc they refered it as hideControlPanel(self) any idea ?? cheers Michael Havart wrote: > Hi Olivier, > > to open the property panel: > > n = nuke.selectedNode() > nuke.show(n) > > if the node is inside a group put this in the button: > > nuke.thisNode().begin() > nuke.show(nuke.toNode('name of node')) > nuke.thisNode().end() > > But I have no idea how to close it... > > On 28 July 2011 14:12, Olivier Jezequel <[email protected] > <mailto:[email protected]>> wrote: > > Hiya, > I think i saw that question already somewhere but i couldn't find it. > how do i open(and close) the property panel of a node from python > ? I have a refreshing bug on some retime nodes in a gizmo that can > be fixed only by opening there property panel. > i am trying to create a button to force that automatically. > > cheers > Olivier > _______________________________________________ > Nuke-python mailing list > [email protected] > <mailto:[email protected]>, > http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > > > ------------------------------------------------------------------------ > > _______________________________________________ > Nuke-python mailing list > [email protected], http://forums.thefoundry.co.uk/ > http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python > _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
