You can use python in max. It appears to be more arseache than using maxscript natively but less arseache than using .Net libraries Disclaimer . .. I've got very little experience beyond doing a hello world experiment in max python as I only get paid to script for maya. Python is worth learning, it's initially disgusting…
You'll probably need both. MaxPlus is access to most of the 3ds Max API through python. (Same API you get from C++, just not all of it.) pymxs is a bridge to maxscript commands though Python.
Python in max works fine alone? or need to works with maxscript? all of this is for create the next tools in maxscript or Python. monster thank you so much for the script! ^^ you rock!
RN thanks for your help! ^^ Another Python question guys. How do you create the Python UI? i've seen that the people, uso QT creator or designer. this tool is usefull for this?
If you don't fancy trying it out in Python you could use the .NET JSON libraries through maxscript. I've not done it myself but I have used the .NET XML library to good effect. I'm not sure it'd be any less effort than learning and doing it in python though.
Another question guys. I'm reading somethings about Python and 3ds max. What is the best way to create scripts throught MaxPlus or pymxs? In Monster's picture, i see that you use MaxPlus. So far i'm very noob in python and It with 3ds Max. If i want to recreate some of my mxs scripts, i would have to use MaxPlus? Thanks…
Mmm, i saw that the best way maybe will be use the both, isn't it? for example, Maxscript for native functions and Python better to develop the interface ? I'll to take advantage of this thread, with another mini question. What MaxScript/Python editor which editor can to execute the scripts into the 3ds MAx 2017 recommend…
poopipe is right, don't bother with Regex. The python code for this is pretty easy. The only issue was I had to paste your Json text in to an online linter before Python could read it. https://jsonlint.com/ import json #open file for reading
data_file = open("C:\Users\monst\Desktop\data.json", mode='r') #load the json file…
Hi @EspiSensei You're importing the pymxs module but you're not using it! I assume you went to the documentation and saw rt.customScript() and assumed it would work, but you first need to define the rt object. This is the line I believe you need:rt = pymxs.runtime Place it somewhere before line 5. This will load the pymxs…