Get the points on the surface selected using TCL/Tk script
Altair Forum User
Altair Employee
Answers
-
Hi
You can do like this
*createmark points 1 'by surface' $surfID
set PointList [hm_getmark points 1]
0 -
Altair Forum User said:
Hi
You can do like this
*createmark points 1 'by surface' $surfID
set PointList [hm_getmark points 1]
Thank you for the reply. It worked for me. But how to get the surface id of the surface currently selected?
0 -
Hi
Use
set surfIDs [ hm_getmark surfs 1]
*createmark points 1 'by surface' {*}$surfIDs
set PointList [hm_getmark points 1]
Or
*createmark points 1 'by surface on mark' 1
set PointList [hm_getmark points 1]
0