TCL script to apply unique colors to components
*autocolorwithmark components 1 0
*endnotehistorystate {Modified Color of Components}
I am not able to provide unique colors to the components automatically. What should I change in the code to achieve the same?
Answers
-
Hi Prathveraj,
You need to place the components on a mark before using *autocolorwithmark as below,
*createmark components 1 all
*autocolorwithmark components 1 0
https://help.altair.com/hwdesktop/hwd/topics/reference/hm/_createmark.htm
Regards,
Shreesha1 -
Dear Shetty,
Mr. Peruvaje is right, before executing a command, it's necessary to create a mark (*createmark)
There's an example:
To avoid any problems, it's also recommended too clear the mark: (*clearmark)
Best Regards,
Flauzino, C.
1 -
Shreesha Peruvaje said:
Hi Prathveraj,
You need to place the components on a mark before using *autocolorwithmark as below,
*createmark components 1 all
*autocolorwithmark components 1 0
https://help.altair.com/hwdesktop/hwd/topics/reference/hm/_createmark.htm
Regards,
ShreeshaThanks for the quick solution
0