Page 1 of 1

Assign color to each material

Posted: Wed Jan 07, 2015 11:01 pm
by eduardrocas
Hello,

I would like to know if there's any way to assign a color to each material, either doing it manually or through Tcl.

Thanks,
Eduard

Re: Assign color to each material

Posted: Thu Jan 08, 2015 11:52 am
by escolano
Applied materials are drawn by colors from the materials window, with the Draw button, but the list of colors is internal and can not be changed or customized.

Re: Assign color to each material

Posted: Thu Jan 08, 2015 5:20 pm
by eduardrocas
I would suggest including the option of assigning specific colors to materials in a future release. It can be important for visualization purposes.

Thanks.

Re: Assign color to each material

Posted: Thu Jan 08, 2015 6:24 pm
by escolano
Do you have in mind how these colors could be specified or some special requirement?
e.g. a GiD-Tcl command that set an array of n RGB defined colors to be used by materials 1,...,n that replace the default automatic colors?

Re: Assign color to each material

Posted: Thu Jan 08, 2015 10:19 pm
by eduardrocas
Exactly, this is the idea; being able to assign a specific color to each different material. RGB is good enough. With a GiD-Tcl would be perfect.

Thanks,
Eduard