Is there any tcl command to create mark by color in Hypermesh ?
Sanit Bhatkar_21192
Altair Community Member
I wanted to isolate red colored components and recolor them. Is there any tcl command for this.
Tagged:
0
Best Answer
-
Assuming that you know the color CODE you can use "equal to value"
My comp is a blue component, color code 5. (i've changed the color to 5 first)
(Documents) 24 % *setvalue comps name=rbe color=5
1
(Documents) 25 % *createmark comps 1 "equal to value" color 5
1
(Documents) 26 % hm_getmark comps 1
10020
Answers
-
Assuming that you know the color CODE you can use "equal to value"
My comp is a blue component, color code 5. (i've changed the color to 5 first)
(Documents) 24 % *setvalue comps name=rbe color=5
1
(Documents) 25 % *createmark comps 1 "equal to value" color 5
1
(Documents) 26 % hm_getmark comps 1
10020