Here is an update for PointCoordinates script.
It was necessary to search for Snap documentation. The .js has two links to forum posts which proved helpful.
The state of the ObjectSnap button, and the button's SnapPt checkbox are saved, then they are both turned on or left on.
After one point is selected, they are both restored to their initial state.
(If the Cancel button is pushed before selecting the point, both are left active, which may not be their initial state, and the script terminates.)
After selecting a point, the script displays an alert of the x, y, z coordinates, hard coded to 6 decimal points.
Selecting in 3D view should help avoid confusion of points on top of each other in the other views.
- Brian
|