Tagged: 

Viewing 7 posts
  • #41954
    Keith Lee
    Participant
    Posts: 5
    Threads: 9
    Joined: Nov 2022
    Up
    0
    Down
    ::

      Hi,

      I am wondering if this is possible… an exporter I used unnecessarily created a separate map for plant instances. I’d like to make all the materials in the scene use just one of these maps, since they are all the same map but with slightly different names. There’s about 1500 maps in the directory for the scene. Any thoughts on the best approach?

  • #41956
    Posts: 258
    Threads: 1137
    Joined: Aug 2009

      It looks like the Browse function can help you.
      This allows to select all similar textures and replace them with one.

  • #41961
    Keith Lee
    Participant
    Posts: 5
    Threads: 9
    Joined: Nov 2022

      Hi,

      That would work for a small number of files, but I have too many for the manual selection each time. In this situation the map files for each plant differ only by the last 2 characters in the filename, so wasn’t sure if Project Manager had a way to automate the removal of those files and point the materials to the original base named file.

      For example, could there be a way to change all materials that reference Arachis_bud_01_Color_* to Arachis_bud_01_Color.png, and either move or delete the other Arachis_bud_01_Color_* files?

      If not, then I guess I need to look at scripting something with MaxScript then.

      thx

  • #41962
    Posts: 258
    Threads: 1137
    Joined: Aug 2009

      Advanced Asset Renamer might also help you.
      Just select multiple files and press F2
      Use the regex or other, convenient for your, method
      Advanced Asset Renamer

  • #41963
    Keith Lee
    Participant
    Posts: 5
    Threads: 9
    Joined: Nov 2022

      Hmm… opening that tool causes the display in Project Manager to be corrupted and no longer usable on my machine. I have to restart 3ds Max 2024.2 in order to use PM again. Opening that tool again causes the same problem, so it’s not usable here.

    • #41965
      Posts: 258
      Threads: 1137
      Joined: Aug 2009

        This bug is fixed in version 3.35.52
        You can download the latest version from the dashboard.
        Auto-updater will be triggered in a few days if there’s no critical issue found.
        Thanks for your feedback.

  • #41973
    Keith Lee
    Participant
    Posts: 5
    Threads: 9
    Joined: Nov 2022

      The latest version fixed the issue I was having, thanks.

      I got everything renamed using the regular expression option in the advanced renamer. I had to do it three separate tasks and it worked well.

      Something to consider for future enhancements might a way to save regular expressions for re-use later, since they can be complex to remember.

Viewing 7 posts

You must be logged in to reply to this topic.