if you name the plugin the same thing as the one you are replacing, but your NUKE_PATH lists your custom plugins path before any others, will nuke use the version it finds first? I can't test right now, but I know functions in your PYTHONPATH work that way.
jrab Le Jun 2, 2011 à 3:54, "[email protected]" <[email protected]> a écrit : > You can override the existing commands with your custom ones though, > or disable the existing commands: > > x=nuke.toolbar("Nodes") > y=x.findItem("3D/AxisX") > y.setEnabled(False) > > > On Wed, Jun 1, 2011 at 6:05 PM, Deke Kincaid <[email protected]> wrote: >> >> nothing in 6.2 to do this :( >> >> -deke >> >> On Wed, Jun 1, 2011 at 18:02, Shawn Neely <[email protected]> wrote: >>> I'd like to remove an existing Nuke menu item. Is there a way to accomplish >>> this? Something like an inverse of addCommand()? (We'd like to "encourage" >>> users to always create our local plugin versions of certain nodes instead of >>> using the built-in ones.) >>> >>> cheers, >>> shawn. >>> _______________________________________________ >>> 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 _______________________________________________ Nuke-python mailing list [email protected], http://forums.thefoundry.co.uk/ http://support.thefoundry.co.uk/cgi-bin/mailman/listinfo/nuke-python
