⚠ Python in 3ds Max 2021+ changed from "import MaxPlus" to "import pymxs" and from Python 2 to Python 3. 👨🎓 Learn how to speed up your work with Python: www.alexanderrichtertd.com/python-max
I had to learn scripting within max for a week and let me mention: Python within 3dsMax is a living nightmare. I recommend just learning MaxScript's syntax (which is easy) and if you want to make use of Python, write your algorithm in MaxScript and register it in python using "mxs.execute". All I'm saying is, if you plan on scripting in 3dsMax , than your stuck having to learn MaxScript or C++ unfortunately.
@@alexanderrichtertd I think he wants to know how to create menus and a Asset Browser using Python. There are some good scripts out there but he want to create his own version of the same. At least that is what I understood.
I am using 2016. When I am in the UV editor and I have a few faces selected, I want to be able to press a button and hide the faces not selected in the viewport so that unwrapping is easier. Sometimes a model is so complex. Right now I have to select the model, hide the polygons that I dont want to edit and then add a UV modifier and then edit.....I know the newer 3ds max versions have this thing already. thats not a option for me.......I just want to be able to hide polygons not selected in the viewport when im editing their UVs. Hope that make sense......... so when i am editing the uvs and have faces selected, i want to press J to hide unselected faces in the viewport so its easier to work with.
If it's a function that already exists in 2016 (as code) try to find the function else you would need to loop through all the faces in the scene and hide the unselected one. It is not exactly artist level coding. Either ask your project Modeling TD for a helper script if you have one or if you like to solve such issues in the future yourself I would recommend to learn basic Python coding in 3ds Max. It will pay off in a lot of situations in the future. Check this out: www.alexanderrichtertd.com/python-max
Hi Alexander thank you for your efforts , i have a problem with a script which is not compatible with 3ds max 2018 it's dedicated for earlier versions so do you have a solution please
The macro recorder is not generally good for learning how to write scripts of your own as it mostly shows what internalized actions are bein run with little exposure to the constructors. Use show in the listener to get the accessible attributes, as in show($Obj) when looking to manipulate any type of asset. You can use show for connected nodes too. show($Obj.material). Been using maxscript for a loooooonnngg time. Prefer Maya as its Python integration is far superior to the mess they made of Maxplus and pymxs, though the latter is the better of the two as its closest to Blur python, but pymxs has NO docs, but they are creating some now after community feedback
Totally agree to that. The macro is not very informative but it is a good start especially if you don't know anything about coding. Maya has a better feedback and documenation but still far from frustation-free. :)
hello can you make more video about python on 3ds max how to aasset manager or bigger project also please make video how to read and using 3d smax python sdk
Hi Alexander, new to Max here. When I started learning how to use python and MEL for maya - the process was very easy to learn thanks in large part to the easy to search command list on the autodesk website, it provided examples too. I was wondering if Max has a similar website where you can search a command list like in Maya. my searches have been pretty fruitless
Hey Gogo, you started luckily with the easier system. The documentation of the SDK of Max is bad ... like not existing bad. If you use python in Max (MaxPlus) I would recommend looking into the C++ SDK documentation since it has more information but you need to adapt since it is not a 100% port. Good luck and let me know if I can help with a new tutorial.
@@alexanderrichtertd In Maya is quite manageable, but I didn't do a lot of advanced things, so I could be biased here. But I've created some interfaces with PyQt5 and I never had a problem using the Maya python reference API. I am now looking into max and this sure seem troublesome to work in Python, your tutorial was one of the only ones I found
Maybe I dont understand but .dlm files are normally download files. If it is complete but didn't change its type just change the extension. Else the file is broken and you have to start the download again.
⚠ Python in 3ds Max 2021+ changed from "import MaxPlus" to "import pymxs" and from Python 2 to Python 3.
👨🎓 Learn how to speed up your work with Python: www.alexanderrichtertd.com/python-max
Sir, you are a hero
"... until you see yourself become the villain." ;) Thx!
I had to learn scripting within max for a week and let me mention: Python within 3dsMax is a living nightmare. I recommend just learning MaxScript's syntax (which is easy) and if you want to make use of Python, write your algorithm in MaxScript and register it in python using "mxs.execute". All I'm saying is, if you plan on scripting in 3dsMax , than your stuck having to learn MaxScript or C++ unfortunately.
Haha! Hear hear!
Hi Alexander,do you know how to debug Python script in 3d max? Thank you!!!
Yes and you can learn it yourself in our masterclass:
www.alexanderrichtertd.com/python-max
How can I pass some values to DirectX Shader in 3ds Max using MaxScript?
Never worked with DirectX shader. Check out this forum:
discourse.techart.online/t/maxscript-directx-shader-issues/2134
@@alexanderrichtertd Thank you very much!!!
Thanks you so much
Most welcome
Scripting in 3ds Max is no cakewalk but it is manageable and here is how.
What topics in 3ds Max are you interested in?
may be own mat library or asset browser ... some good script here net but ı am make own speccial but not good resource or pipeline..
Also python menu making 3ds max or using the python make asset browser ?
thank you verymuch
Thx! I am not sure. Was that a question?
@@alexanderrichtertd I think he wants to know how to create menus and a Asset Browser using Python. There are some good scripts out there but he want to create his own version of the same. At least that is what I understood.
I am using 2016. When I am in the UV editor and I have a few faces selected, I want to be able to press a button and hide the faces not selected in the viewport so that unwrapping is easier. Sometimes a model is so complex. Right now I have to select the model, hide the polygons that I dont want to edit and then add a UV modifier and then edit.....I know the newer 3ds max versions have this thing already. thats not a option for me.......I just want to be able to hide polygons not selected in the viewport when im editing their UVs. Hope that make sense......... so when i am editing the uvs and have faces selected, i want to press J to hide unselected faces in the viewport so its easier to work with.
If it's a function that already exists in 2016 (as code) try to find the function else you would need to loop through all the faces in the scene and hide the unselected one. It is not exactly artist level coding. Either ask your project Modeling TD for a helper script if you have one or if you like to solve such issues in the future yourself I would recommend to learn basic Python coding in 3ds Max. It will pay off in a lot of situations in the future.
Check this out:
www.alexanderrichtertd.com/python-max
NICE TUTORIAL
Nice comment! :)
Thank you
You're welcome
Hi Alexander thank you for your efforts , i have a problem with a script which is not compatible with 3ds max 2018 it's dedicated for earlier versions so do you have a solution please
Let me have a look maybe I can help.
Just sent me an email or reply with a link to the script.
how do you execute the code with the keyboard?
Tools > Evaluate All (Ctrl+E)
@@alexanderrichtertd Thank you !
Nice video!
Glad you enjoyed it
thank you very much this video
Oh you found it. :D
The macro recorder is not generally good for learning how to write scripts of your own as it mostly shows what internalized actions are bein run with little exposure to the constructors. Use show in the listener to get the accessible attributes, as in show($Obj) when looking to manipulate any type of asset. You can use show for connected nodes too. show($Obj.material). Been using maxscript for a loooooonnngg time. Prefer Maya as its Python integration is far superior to the mess they made of Maxplus and pymxs, though the latter is the better of the two as its closest to Blur python, but pymxs has NO docs, but they are creating some now after community feedback
Totally agree to that. The macro is not very informative but it is a good start especially if you don't know anything about coding.
Maya has a better feedback and documenation but still far from frustation-free. :)
Teach me.
pay me. ;)
Are you planning to do a Scripting for Artists in Houdini?
Not planned yet. The moment I am doing more in Houdini I will think about that. Thx for the feedback. :)
hello can you make more video about python on 3ds max how to aasset manager or bigger project also please make video how to read and using 3d smax python sdk
basically it is mostly Python. Learn Python and search for the right command in 3ds Max and you're mostly good.
Hi Alexander, new to Max here. When I started learning how to use python and MEL for maya - the process was very easy to learn thanks in large part to the easy to search command list on the autodesk website, it provided examples too. I was wondering if Max has a similar website where you can search a command list like in Maya. my searches have been pretty fruitless
Hey Gogo, you started luckily with the easier system. The documentation of the SDK of Max is bad ... like not existing bad.
If you use python in Max (MaxPlus) I would recommend looking into the C++ SDK documentation since it has more information but you need to adapt since it is not a 100% port. Good luck and let me know if I can help with a new tutorial.
we need to python for 3ds max more scripting examples please
Python in 3ds Max is not a pleasant experience but it isnt also in Maya.
Should I have some more time I will.
@@alexanderrichtertd In Maya is quite manageable, but I didn't do a lot of advanced things, so I could be biased here. But I've created some interfaces with PyQt5 and I never had a problem using the Maya python reference API. I am now looking into max and this sure seem troublesome to work in Python, your tutorial was one of the only ones I found
how to open a dlm file
Maybe I dont understand but .dlm files are normally download files.
If it is complete but didn't change its type just change the extension.
Else the file is broken and you have to start the download again.
this video is unrealistic in how fast he can get max to open.
Haha. Are you saying I speed it up 5x times? ;)
If you want a script, you need Maya.
Haha. What?
What are you saying