home *** CD-ROM | disk | FTP | other *** search
/ PCNET 2006 October - Disc 2 / PCNET_CD_2006_10_2.iso / apps / k3d-all-in-one-setup-0.5.14.0.exe / k3d-setup-0.5.14.0.exe / share / scripts / describe_plugins.py < prev    next >
Encoding:
Text File  |  2006-01-24  |  362 b   |  23 lines

  1. #python
  2.  
  3. import k3d
  4. import sys
  5.  
  6. factories = k3d.plugins()
  7.  
  8. print "\nApplication Plugins:"
  9. for factory in factories :
  10.     if factory.is_application_plugin :
  11.         print "\t" + factory.name
  12.  
  13.  
  14. print "\nDocument Plugins:"
  15. for factory in factories :
  16.     if factory.is_document_plugin :
  17.         print "\t" + factory.name
  18.  
  19. sys.stdout.flush()
  20.  
  21. k3d.ui.message("Output sent to console")
  22.  
  23.