Forum Groups
  All forums
    Help & Feedback
      Work in progress
      Finished Art
      Non-Max related

Maxunderground news unavailable

Python vs MAXScript?
show user profile  Nanne
Hello all scripters! :)

What's the current state of Python for Max? Can you do everything in Python that you can do in MAXScript, so would it make more sense to learn Python rather then MAXScript? Or do you need to know MAXScript in order to take advantage of Python, are you simply calling MAXScript functions but with the Python syntax?

I'm currently writing rather complex tools in MAXScript that automates a lot of steps and generates entire scenes based on XML data. Would there be any benefits of rewriting these scripts in Python? I'm fairly new to MAXScript but it is so easy to learn that it's no problem at all! :) But my colleges are more familiar with Python.

So how powerful and compatible is Python at the moment (Max 2016 or 2017)?

Kristoffer Helander
  :: Works ::   |  :: Resumé ::   |  :: Contact ::   |  :: CG Blog ::   |  :: Links ::     
read 114 times
12/31/2016 1:38:56 PM (last edit: 12/31/2016 1:38:56 PM)
show user profile  ccampbell
If you want to learn a more valuable language then python is a good way to go. Python is good for doing things that involve more controller over external services or other applications and such. For what your doing it seems max script should do perfectly fine.

I honesty could not speak to the execution speed of one over the other(you could test ) but my intuition says python would execute faster but has to be parsed by max script so using max script to begin with I think would be the best solution here.

Python is easy and a fun intro language to expand upon.

$Entrepreneur = if((Designer + Engineer)*Programmer){Problem Solver};

read 99 times
12/31/2016 8:39:26 PM (last edit: 12/31/2016 8:39:26 PM)
show user profile  ScotlandDave
I think Python is much much cleaner and conventional than Maxscript to use ( which is partly the point ), and as mentioned translates well to broader use with other apps, but tbh i've never looked at the Python api in Max. It's probably worth having a look through the Max Python api documentation, and finding out how much of what you need has been exposed.. So if you just need basic scene management functionality, look into that, if you need access to internal mesh data, look into that, etc..

Website | Blog | Contact | Vimeo

read 40 times
1/10/2017 10:51:40 AM (last edit: 1/10/2017 10:51:40 AM)
#Maxforums IRC
Open chat window