API to prompt user to select entity and get relevant info in Hyperview
Dear All,
I would like to know if there are any commands in HyperView which would prompt user to make selection in the GUI, to make a set or keep it in mark. So that we can retrieve related information from it.
Basically I am searching for "*createmarkpanel" equivalent which is in HyperMesh.
P.S I have seen poI SetSelection Class. But I couldn't find any options, which prompts the user to select Elements or Nodes from GUI.
Any help would be very much appreciated.
Answers
-
Hi
I think the file in the attachment can help you. The file had been compiled. So you should "source" the script file in your script and invoke the command and function like below:
set eList [::post::panelselect::getuserselection Elements]
set cList [::post::panelselect::getuserselection Components]
set nList [::post::panelselect::getuserselection Nodes]Just for your reference
0 -
Can You please share not compiled version of the script.
Your compiled TBC was in trial version of Tcl Dev Kit 'tclcompiler' and it refuse to start showing LICENSE ERROR MESSAGE.This one doesnt work at all in HyperView .
0 -