Tcl command to find the ID's of highlighted entities
Hello All,
I wanted to know if there is any direct command to extract the Id's of highlighted entities, Specifically in my case nodes ,
I have tried basic "hm_createmark" command but there is no option to retrieve/Add mark on highlighted entities ,
Please let me know if there any such option , Added an image for reference.
Thanks in advance
Regards,
Ashwin
Answers
-
Hello Ashwin Pinto,
if you do the renumber from the panel with the classic interface, you can get the command for showing the ids once the selection done:
*createmark nodes 1 selection method
*numbersmark nodes 1 1Best Regards,
Michael
0 -
Michael Herve_21439 said:
Hello Ashwin Pinto,
if you do the renumber from the panel with the classic interface, you can get the command for showing the ids once the selection done:
*createmark nodes 1 selection method
*numbersmark nodes 1 1Best Regards,
Michael
Hell Michael,
Thanks for the reply, But this command "*numbersmark nodes 1 1" is used for displaying the Id's numbers and what I m looking for is a command to retrieve the highlighted node ID or add a mark on the highlighted nodes and then retrieve it.
For example : There are commands to add mark on entities by either "-by Id" or "-by name",
So, I wanted to know if there is any such command like select entity "-by highlight "
Also I m able to highlight entities using (highlightmark node 1"high" ) command, but unable to find anything to retrieve it, considering I don't have the mark Id used for highlight.
Kindly Let me know your thoughts,
Thanks & Regards,
Ashwin
0 -
Is hm_getusermark what you are looking for?
https://help.altair.com/hwdesktop/hwd/topics/reference/hm/hm_getusermark.htm
0