Easier acces to Python scripts

Scripting in Blender with Python, and working on the API

Moderators: jesterKing, stiv

Post Reply
Posts: 0
Joined: Fri Apr 23, 2004 4:04 pm

Easier acces to Python scripts

Post 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 ?

Posts: 0
Joined: Fri Jun 11, 2004 3:24 pm
Location: Berlin

Post 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

Post Reply