Hi all: Sorry to have to avail myself of the forums again, but I’m running into a bit of a blocker here with MAXScript.
Is there any way to pass arguments from MAXScript to Python through python.Execute/ExecuteFile? (kind of like how in duberPython you can pass an array of args to RunFromFile() )
I have a MAXScript UI that I’m trying to have, when a button is pressed, execute an external py file but also pass states of the other UI items (checkboxes, comboboxes etc.) as arguments to the python file when being run. I’ve been exploring if it’s possible to launch the py file with command-line arguments or similar, but haven’t been able to get anywhere so far; python.Execute and ExecuteFile seem pretty limited in their behaviour…
Anyone who has done this sort of MAXScript/Python bridging stuff, I’d really appreciate any pointers you could offer here. Thanks!