Page 1 of 1

Easier acces to Python scripts

Posted: Tue Jun 22, 2004 10:13 pm
by LeHomard
Is there any way to be able to put links to Python scripts directly in the Blender interface ?

There is this script window with a menu where there are a certain number of import and export scripts. Is it possible to just write a script and then put a link in that menu ? And what's the "misc" empty sub-menu ?

Posted: Wed Jun 23, 2004 10:55 pm
by ElBarto
To register a script to a menu you need to add this at the beginning of the script:


""" Registration info for Blender menus:
Name: 'NameOfYourScript'
Blender: 233
Group: 'Help'
Tip: '...YourToolTipHere'

At the latest CVS built groups could be:
Animation, Import, Export, Generators, Help, Materials, Misc, Modifiers, Tools, UV and Wizards