Oh.. I've only ever used it on a script that gets run after nuke is up and running. (To check what gizmos are actually used in the scene, rather than what gets loaded from any of the init/menu.py).
Not sure what would be the answer to you at the moment. What are you trying to achieve exactly? Maybe looping through nuke.pluginPath(), listing any init.py or menu.py in there and look into there for import statements? (Sounds like a bad idea though) On 9 Dec 2014 19:53, "Fredrik Averpil" <[email protected]> wrote: > Thanks Erwan, > > This is nice. However, I notice the command does not return any of the > plugins / gizmos / scripts loaded from within init.py. > > From init.py, I'm adding scripts and gizmos using nuke.pluginAppendPath(). > Should > I load the plugins / gizmos / scripts in a different way to be able to list > them using the nuke.plugins() command? > > // Fredrik > > > > On Tue Dec 09 2014 at 12:12:12 PM Erwan Leroy <[email protected]> > wrote: > >> nuke.plugins(0,'*.gizmo') >> On 9 Dec 2014 18:23, "Fredrik Averpil" <[email protected]> wrote: >> >>> Hi, >>> >>> I'm trying to figure out whether I can find the location of all loaded >>> plugins, scripts, gizmos from within Nuke. >>> >>> Any ideas? >>> >>> Regards, >>> Fredrik >>> >>> _______________________________________________ >>> 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
