On 26/09/2014 at 02:41, xxxxxxxx wrote:
But the script had to be already typed and saved, right?
What I was thinking was something like this:
I have a python script, like, for example, this (this is a very simple script, just for the sake of example) :
if __name__ == "__main__":
I would save this as, for example, test.pyp
Then I would protect it with Cinema 4D's "Source Protector" to create a .pype and/or .pypv file.
Then, if possible, I would like to load and run the script from C++, getting a return value.
It would be something like:
and get the result from it.
Better yet, if was possible to pass parameters along to the script.
Is this in any way possible?