1. In the AI Sketchpad, select the materials to be named and export them to your local computer to ensure that you can access and edit these files.
2. Write a script in programming language to realize automatic batch naming. In the script, you can traverse each material file in the folder and rename it to the corresponding hexadecimal name.