Python Forum
Noob question about python and Maxplus
Thread Rating:
  • 2 Vote(s) - 3 Average
  • 1
  • 2
  • 3
  • 4
  • 5
Noob question about python and Maxplus
#1
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 ^_^
Reply


Possibly Related Threads…
Thread Author Replies Views Last Post
  Function not scriptable: Noob question kaega2 3 1,191 Aug-21-2022, 04:37 PM
Last Post: kaega2
  Noob question about lists adifrank 4 2,885 Nov-19-2020, 03:26 AM
Last Post: adifrank
  Python class noob nallster7 2 32,913 Sep-17-2020, 10:56 PM
Last Post: snippsat
  Noob question: why is shapesize() not working for my turtle adifrank 8 5,800 Sep-09-2020, 11:13 PM
Last Post: adifrank
  Noob question adifrank 6 2,747 Aug-18-2020, 11:50 PM
Last Post: adifrank
  Python WebsocketServer ? its probably simple but im a noob. qbot333 1 1,981 Jun-03-2020, 06:30 PM
Last Post: ingnelson
  Python on Linux, Total Noob to Both halcyon 4 3,072 May-27-2019, 10:40 AM
Last Post: heiner55
  Noob Question: Sample Data csn113 1 2,183 Feb-18-2019, 06:35 PM
Last Post: micseydel
  Noob question on Mac python3, pydoc3 JamesNJ 0 2,312 Oct-08-2018, 04:26 AM
Last Post: JamesNJ
  Maya Python Noob Question Iurii_Ledin 2 3,297 Jun-08-2018, 09:09 PM
Last Post: Iurii_Ledin

Forum Jump:

User Panel Messages

Announcements
Announcement #1 8/1/2020
Announcement #2 8/2/2020
Announcement #3 8/6/2020