Making a py call from c

Compiling, libraries, modules, coding guidelines and porting

Moderators: jesterKing, stiv

Post Reply
RRuiz
Posts: 0
Joined: Wed Apr 20, 2005 4:08 am

Making a py call from c

Post by RRuiz »

Hi ,
This maybe is very simple . . I want to know how to simulate a python command in c inside blender . . lets said

Blender.My_Variable="valor"

An other think that could be useful is to be able to call a funtion inside of a script with parameters from c. I know that BPY_run_python_script function can call a script but how will be the correct way to pass a parameter? . . . I can get arround this altering the api phyton in some way but is going to be very messy. Theres must be other way

Thanks for the help

Regards
RCRuiz

Post Reply