A program to recognize and reward our most engaged community members
Hello,
How to get the point list on the boundary of a selected surface?
My goal is to get the distance between the points and set the element density accordingly.
Hi
You can do like this
*createmark points 1 'by surface' $surfID
set PointList [hm_getmark points 1]
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?
Use
set surfIDs [ hm_getmark surfs 1]
*createmark points 1 'by surface' {*}$surfIDs
Or
*createmark points 1 'by surface on mark' 1