hm_getdisplaycolor
How to use hm_getdisplaycolor in tcl???
I saw an example in altair forum i.e
hm_getdisplaycolor 6
What does that 6 refer to??
Thanks in advance
Answers
-
Hi
from hypermesh menu Help>Hyperworks help home
> Reference Guides> Hypermesh
Type the command you want to be helped in 'index' tab
0 -
Hi,
I saw the example of using it there. But in that page there is no description of what the number is (6 in this case).
0 -
Hi
the page says refer to *setdisplaycolor command
so you can find meaning of number 6 in help of *setdisplaycolor /emoticons/default_happy.png' alt='^_^' srcset='/emoticons/happy@2x.png 2x' width='20' height='20'>
0 -
Hi,
Thanks for the help. Is there any way to get the color of each property of a model and paste it in an excel?
0 -
If you mean through the gui, you can go to tools > property table > table > save > csv will save the component, property and colour code (number of the colour) in a csv
0 -
Hi Rahul,
Thanks for the valuable piece of help. How do we get the color (not the color id) to be pasted in excel. Is there any tcl code for that?
0 -
Altair Forum User said:
Hi Rahul,
Thanks for the valuable piece of help. How do we get the color (not the color id) to be pasted in excel. Is there any tcl code for that?
When you got the HM color code, just convert it into Excel color code before pasting.
Don't ask me 'How to convert HM color code into Excel color code?' :-)
0 -
Hi,
I am able to get the excel color code, but only the excel color code gets pasted in the excel, but I need the color to be pasted in the excel. Any help is appreciated.
0 -
Altair Forum User said:
Hi,
I am able to get the excel color code, but only the excel color code gets pasted in the excel, but I need the color to be pasted in the excel. Any help is appreciated.
using conditional format function of excel to paint corresponding color for cells based on color codes
0