Automatically assigning colour to lots of small parts
 
Notifications
Clear all

Automatically assigning colour to lots of small parts  

  RSS
PeterM
(@peterm-3)
Member
Automatically assigning colour to lots of small parts

Hi, I have a model with lots of small non-connencted colour islands. Each is a seperate geometry part, imported as a single object.

They are named based on the colour I would like to assign them - is there an easy way to assign them to all parts of the same name? 

I have tried to find way of selecting all parts with the same name (currently a manual, tedious process with 50+ parts), rearranging parts by name, or assigning a colour/tool based on the part name automatically (maybe a regex).

Any suggestions?

Thanks

Posted : 26/05/2025 2:27 pm
ulna operating
(@ulna-operating)
Member
RE: Automatically assigning colour to lots of small parts

Great question! Automating color assignments based on part names can save a significant amount of time. Consider using scripting or a custom script to go through all objects, confirm their names, and assign colors as needed. In Blender, for example, you could create a Python script that effectively matches names with colors using a dictionary or regex. If you're using another program, seek for similar scripting or batch selection tools. I hope this helps to streamline your workflow!

 

Posted : 03/06/2025 8:32 am
Share: