May-16-2017, 05:07 PM
Hi guys :)
I hope I'm the right place to ask my question! Sorry i'm VERY noob at this so be gentle :p
I try to do a tool in python. So I managed to create a window in python and a nice litle button.
What I want is when I press that said button it execute an already scripted .ms file and i'm not too sure about how to do it.
I did the Import MaxPlus
I have my function that work nicely
I see i can use :
EvalMAXScript
ExecuteMAXScript
Not sure the difference between this and how to use them (sorry again i'm a noob)
So my question is what I must write to run an .ms script into my python ?
def My_Function(self):
MaxPlus.Core.EvalMAXScript(what i need to type in here to run my .ms file)
thanks a lot ^_^
I hope I'm the right place to ask my question! Sorry i'm VERY noob at this so be gentle :p
I try to do a tool in python. So I managed to create a window in python and a nice litle button.
What I want is when I press that said button it execute an already scripted .ms file and i'm not too sure about how to do it.
I did the Import MaxPlus
I have my function that work nicely
I see i can use :
EvalMAXScript
ExecuteMAXScript
Not sure the difference between this and how to use them (sorry again i'm a noob)
So my question is what I must write to run an .ms script into my python ?
def My_Function(self):
MaxPlus.Core.EvalMAXScript(what i need to type in here to run my .ms file)
thanks a lot ^_^