Trees | Indices | Help |
|
---|
|
1 # Copyright (c) 2009 The Foundry Visionmongers Ltd. All Rights Reserved. 2 3 import nuke 4 5 # This is for testing that all plugins were compiled correctly7 tried = 0 8 failed = 0 9 p = nuke.plugins(nuke.ALL, "*."+nuke.PLUGIN_EXT) 10 for i in p: 11 tried += 1 12 print i 13 try: 14 try_load = nuke.load(i) 15 except: 16 print i, "failed to load." 17 failed += 1 18 if failed > 0: 19 print failed, "of", tried, "plugin(s) total did not load" 20 else: 21 print "All available binary plugins (",tried,") successfully loaded"22
Trees | Indices | Help |
|
---|
Generated by Epydoc 3.0.1 on Sun Jul 17 22:06:14 2011 | http://epydoc.sourceforge.net |