Get name of component in hyperview using TCL Command
Hello All,
I want to get the name of collectors in hyperview using tcl command. Please guide for this.
Regards,
Sanket Patil
Answers
-
Hello All,
Can anyone guide regarding this?
Regards,
Sanket
0 -
Sanket,
What is your overall goal of the exercise? If you are trying to automate something from HyperView, you should explore the new "record and playback" method over tcl tk commands since that will be faster to accomplish.
You should use latest releases (2021.2 is the latest) for best experience and coverage of command recording.
Otherwise, for tcl command, HyperView has an objet oriented hierarchy. So to get to a component, you should get a handle for session, then page, window and model. Then you can get handle of a particular component and query its name.
https://2021.help.altair.com/2021.2/hwdesktop/hwd/topics/reference/tcl/object_hierarchy_r.htm
2 -
use the command "hm_getcollectorname" hm_getcollectorname (altair.com)
0