Need a TCL command to isolate target object by clicking it directly in graphical window interface instead of model trees.
Hello everybody
I want a TCL command to isolate target object by clicking it directly in graphical window interface instead of model trees. It is going to help improving the oprating efficiency if I can selected targeted objects like solids, surfaces, or elements components including 1D, 2D, 3D with shortcut by click on them in the graphical window interface, instead of selecting by model trees whih I feel is not efficient . Unfortunately, I am not family with the TCL function. So hopefully some nice hyperwork master can help me solve it.
I know what I ask for may can be realized in HyperWork module, but I need it in hypermesh2020.
I am looking forward to this amzing moment when this great TCL command function come up.
Thanks a lot for your attention and great help.
Answers
-
Hi Tony,
Here's some .tcl that I think does what you want, but only for elements. I'm no TCL expert myself and I understand that it's tricky to create a single panel or gui that lets you choose whether you want elements, nodes, solids, etc..
*createmarkpanel elems 1 "Please select the elements"
*createstringarray 2 "elements_on" "geometry_on"
*isolateonlyentitybymark 1 1 2You could map this function to some hotkeys and configure it so that one hotkey lets you select elements and another lets you select geometry.
Also the Selector button from the Model Browser can cover the ability to isolate components. Just click the arrow, click the component on the screen, and press the "I" key on the keyboard to isolate it.
Hope this helps!
0