Lack of persistent 3d dimension tool

I recall that there was some macro command used to replicate a real mouse click with the left button. Maybe that command could be inserted into the whole macro to eliminate the need to set the end point for the dimension?