Message 1 of 3
How to call a pythonScript and pass arguments to this?

Not applicable
02-16-2017
07:59 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello there,
I have a .py file that I want to call from maxScript. The pythonscript is supposed to do some operations on an external file and I wrote it to take 4 arguments (argv) when executing it. It works fine when starting it from the commandline, but how do I pass those 4 argument when using "python.ExecuteFile()" within a mxsFile?
Thanks,
Martin