Scripting for Artists in 3ds Max

Поділитися
Вставка
  • Опубліковано 2 лис 2024

КОМЕНТАРІ • 61

  • @alexanderrichtertd
    @alexanderrichtertd  Рік тому +1

    ⚠ 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

  • @AliMoeeny
    @AliMoeeny 3 роки тому +2

    Sir, you are a hero

  • @tstone9151
    @tstone9151 3 роки тому +2

    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.

  • @朝阳马
    @朝阳马 Рік тому +1

    Hi Alexander,do you know how to debug Python script in 3d max? Thank you!!!

    • @alexanderrichtertd
      @alexanderrichtertd  Рік тому

      Yes and you can learn it yourself in our masterclass:
      www.alexanderrichtertd.com/python-max

  • @mojanzhang7757
    @mojanzhang7757 Рік тому +1

    How can I pass some values to DirectX Shader in 3ds Max using MaxScript?

    • @alexanderrichtertd
      @alexanderrichtertd  Рік тому

      Never worked with DirectX shader. Check out this forum:
      discourse.techart.online/t/maxscript-directx-shader-issues/2134

    • @mojanzhang7757
      @mojanzhang7757 Рік тому

      @@alexanderrichtertd Thank you very much!!!

  • @MrDetecmen
    @MrDetecmen Рік тому +1

    Thanks you so much

  • @alexanderrichtertd
    @alexanderrichtertd  6 років тому +3

    Scripting in 3ds Max is no cakewalk but it is manageable and here is how.
    What topics in 3ds Max are you interested in?

    • @imgestudyo4399
      @imgestudyo4399 6 років тому +1

      may be own mat library or asset browser ... some good script here net but ı am make own speccial but not good resource or pipeline..

    • @imgestudyo4399
      @imgestudyo4399 6 років тому +2

      Also python menu making 3ds max or using the python make asset browser ?

    • @imgestudyo4399
      @imgestudyo4399 6 років тому +1

      thank you verymuch

    • @alexanderrichtertd
      @alexanderrichtertd  5 років тому

      Thx! I am not sure. Was that a question?

    • @vinaiv6969
      @vinaiv6969 5 років тому +1

      @@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.

  • @justahuman4862
    @justahuman4862 3 роки тому +1

    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.

    • @alexanderrichtertd
      @alexanderrichtertd  3 роки тому

      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

  • @泽诺尔
    @泽诺尔 4 роки тому +1

    NICE TUTORIAL

  • @chatchawink2ld915
    @chatchawink2ld915 4 роки тому +1

    Thank you

  • @ayhamsalloum4988
    @ayhamsalloum4988 6 років тому +1

    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

    • @alexanderrichtertd
      @alexanderrichtertd  6 років тому

      Let me have a look maybe I can help.
      Just sent me an email or reply with a link to the script.

  • @JR-jt7cn
    @JR-jt7cn Рік тому +1

    how do you execute the code with the keyboard?

  • @christianstamati
    @christianstamati 4 роки тому +1

    Nice video!

  • @imgestudyo4399
    @imgestudyo4399 6 років тому +2

    thank you very much this video

  • @crediblemulk4638
    @crediblemulk4638 6 років тому +1

    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

    • @alexanderrichtertd
      @alexanderrichtertd  6 років тому +1

      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. :)

    • @pedrotorres3647
      @pedrotorres3647 6 років тому +1

      Teach me.

    • @alexanderrichtertd
      @alexanderrichtertd  5 років тому

      pay me. ;)

  • @isabellaippolito5078
    @isabellaippolito5078 5 років тому +1

    Are you planning to do a Scripting for Artists in Houdini?

    • @alexanderrichtertd
      @alexanderrichtertd  5 років тому

      Not planned yet. The moment I am doing more in Houdini I will think about that. Thx for the feedback. :)

  • @imgestudyo4399
    @imgestudyo4399 6 років тому

    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

    • @alexanderrichtertd
      @alexanderrichtertd  5 років тому

      basically it is mostly Python. Learn Python and search for the right command in 3ds Max and you're mostly good.

  • @DoraKage
    @DoraKage 6 років тому +1

    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

    • @alexanderrichtertd
      @alexanderrichtertd  6 років тому

      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.

  • @imgestudyo4399
    @imgestudyo4399 6 років тому +1

    we need to python for 3ds max more scripting examples please

    • @alexanderrichtertd
      @alexanderrichtertd  5 років тому

      Python in 3ds Max is not a pleasant experience but it isnt also in Maya.
      Should I have some more time I will.

    • @sjohncreations4369
      @sjohncreations4369 4 роки тому

      @@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

  • @CGDEVANIMATION
    @CGDEVANIMATION 5 років тому +1

    how to open a dlm file

    • @alexanderrichtertd
      @alexanderrichtertd  5 років тому

      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.

  • @notusingmyname4791
    @notusingmyname4791 5 років тому +5

    this video is unrealistic in how fast he can get max to open.

  • @ImmortalBest
    @ImmortalBest 5 років тому +1

    If you want a script, you need Maya.