[Bf-taskforce25] Calling python functions through a button
Nathan Letwory
jesterking at letwory.net
Fri Aug 7 16:08:06 CEST 2009
Stefaan michielsen wrote:
> I can't get to run a python script from any of the ui parts (itemR(),
> itemO) It appears that this only can execute c-based code. Is this correct?
You need to create an python operator that calls your script entry
point. See in .blender/release/io for examples.
When you have registered your own operator, you can use that to bind to
a button.
/Nathan
--
Nathan Letwory
http://www.planetblender.org | http://www.blender-fi.org
More information about the Bf-taskforce25
mailing list