Selection of surfaces
Hello all,
Is it possible to select some surfaces by defining their coordinates or sth else in tcl script?
Note: I can make it by createnarkpanel command but i dont want to select surfaces in GUI. So, I want to learn if I can handle it without mauel selection by mouse.
Answers
-
yes, you can use
hm_measureshortestdistance2 to get closest surf to a coordinate
0 -
Dear Tinh,
Thank you for your reply. I have tryed your suggestion but I still have problem on selecting desired surfaces. As illustarated in the picture below;
Coordinated of center nodes is wrtten in 'hm_measureshortestdistance2' command as, hm_measureshortestdistance1 6310.316 -437 1212.594 surfaces 1 0 0
However, in order to check if selection of washer surface is completed hm_getmark surfaces 1 is written. But nothing appeared on the screen. Unfortunately, surface is not selected.
Do you have any suggestion to achieve this problem?
0 -
Please read hypermesh reference help (menu help)
the command will return several values including closest surf id then you just need to use *createmark surfs to select it
0