An exclusive raffle opportunity for active members like you! Complete your profile, answer questions and get your first accepted badge to enter the raffle.
I am a beginner of Hypermesh. How to display the coordinates of points in Hypermesh? Not a node, but a geometric point.
Hello,
It seems that HM doesn't have function to show coords of points (and nodes).
But we can use a tag to do it, example (copy this script and paste in HM command windows):
proc showPointCoords args { *createmarkpanel points 1 "Select points:" foreach pointId [hm_getmark points 1] { set x [hm_getentityvalue points $pointId x 0] set y [hm_getentityvalue points $pointId y 0] set z [hm_getentityvalue points $pointId z 0] *tagcreate points $pointId [format "(%.1f %.1f %.1f)" $x $y $z] "P$pointId" 2 } *clearmark points 1 } showPointCoords
(sorry I have edited the code because it referred to point id #1 everytime)
Tested in HM2019:
https://www.youtube.com/watch?v=5pcMz58CHEM