Learning Python for 3dsmax

- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hi,
I'm am just a graphist who put a look at maxscript few years ago and found a wonderful tool to batch painful tasks quickly.
I've been creating maxscripts for quite a long time now.
I can see now that Python scripting is used almost everywhere (web, 3dsmax, Blender, etc !)
So I'm trying to get started with python scripting in 3dsmax.
I understand the few documentation examples, but I'm just not capable of doing a simple python script that works fine in 3dsmax.
So, is there a serie of tutorials (free or not) that teaches how to script correctly with python for 3dsmax.
Simple examples that stops me very quickly in Python, and that is very easy in maxscript :
- Select none :
In maxscript just type : ClearSelection() -- And the job's done !
In python : I cannot find any example to do that. I suppose I have to import MaxPlus, and use this command in some kind of way, but I don't know how to get it work : MaxPlus.SelectionManager.???
- Select all geometric objects in the scene :
In maxscript : select geometry
In Python : ????
Is there some kind of ressource for beginners like me ?
Where can I find good documentation with examples of python code for simple tasks ?
Last question : What is the use for the pymxs class ?
If I want to use Python, why should I use a class in python that just allow to do maxscript ?
It is just more complicated than just coding using maxscript...
Are Python scripts quicker than maxscripts ?
Well I will stop here, but I have thousands of questions like these ones...
Thanks !