Hi modado,
I would check how far any sorting could be done with Layers from the creator of the file. Or if a naming convention might help. Something like that/
Color selection for Objects: Not to my knowledge. But I will suggest that. Sorting colors into Layers, with a certain tolerance, so one doesn’t end up with uncounted Layers.
This describes a little bit of the problem, how exact the colors from the CAD file are.
However, since the color is a value, one can compare it. Either from the Object (attribute manager) or with Display> Constant Shading!
I tried different ideas this morning, and the simplest one would be to see R, G, and B as a vector, and equal color would have zero distance to it.
So a cube 1x1x1 would have a max distance of 1.732. Which I used with a slightly different value as the parameter “Differ”.
So how does this work? Click on the XPresso Tag. You get to parameters (Differ and Color)
To see all objects, move the slider “Differ” to the right.
Then pick a color, preferably type the values in.
Now use the Differ parameter to reduce the outcome.
You will be left with a small group. This can be selected in the editor view. With that, all selected objects can be dragged from the Object Manager onto a prepared layer.
Then you pick the next color.
File
https://www.dropbox.com/s/3tqojwu36qlseys/CV3_2023_drs_22_XPcc_01.c4d.zip?dl=0
Yes, it would be nice if automated. I get that.
All the best