start python script in blender from Java

how can i do that ?

i got the blend file opened , but can´t find a way to execute the script an that file also ! iit only works with alt-P then !

is there a parameter to execute script from another programm?

Thanxx

You might try to set the script as a scriptlink OnLoad

Stefano

thanxx solved it like that

why are you running Blender from Java BTW?

~Toni

ITS SOLVED

but its an server application in java which kicks a python script !

but the linkin works fine
FORGOT THAT! :expressionless:

you can also pass the script as a command line argument, but OnLoad is cool too. do note that scriptlinks have to be enabled for it to work.

have fun with the server :slight_smile: