Assign random colour to part of an assembly3

Post here for help on using FreeCAD's graphical user interface (GUI).
Forum rules
and Helpful information
IMPORTANT: Please click here and read this first, before asking for help

Also, be nice to others! Read the FreeCAD code of conduct!
Post Reply
MBE
Posts: 1
Joined: Mon Dec 06, 2021 9:30 pm

Assign random colour to part of an assembly3

Post by MBE »

Hi everyone,
Is that feasible to automatically assign a different random colour to each part of an assembly3?

I created an assembly3 with 20 parts and would like my freecad 0.19.2 to utomatically assign each of them a random colour.

Of course it would be great if the next added part, the 21st one, will have a random colour itself.


Regards,
Matteo.
chrisb
Veteran
Posts: 53930
Joined: Tue Mar 17, 2015 9:14 am

Re: Assign random colour to part of an assembly3

Post by chrisb »

Not sure if this is rather an assembly question. For creating objects you can configure to use a random color in Preferences->Part Design->Shape Appearance.
A Sketcher Lecture with in-depth information is available in English, auf Deutsch, en français, en español.
User avatar
Roy_043
Veteran
Posts: 8450
Joined: Thu Dec 27, 2018 12:28 pm

Re: Assign random colour to part of an assembly3

Post by Roy_043 »

Post Reply