Building upon MoI’s new Leader tool, Coordinates is a script that creates leaders with either 2D or 3D coordinates depending on the view chosen. My intent was to be able to add feature coordinates to construction drawings, for example the coordinates of the holes of a bolt circle, though I suspect it will have other uses. The script allows adjusting the origin and axes by establishing a CPlane; for example the model part can be made to correspond to how the actual part will be referenced on a given machine. Display precision is controlled by Options > Dimensions > Formatting: Decimal display. Because the script can create multiple leaders, while the command is running Cancel or Undo removes leaders one at a time rather than removing everything just created. Leaders for the 2D views can optionally be prefixed with axis labels.
The script requires MoI v4 or the final v4 beta; it does not work properly with the earlier betas.
This effort is based upon the excellent examples found in MoI’s commands along with insights gleaned from the forum, thanks!
The first two examples use a property preset named Coordinates with Outline: Rect, Arrowhead: Dot, and Dot size: 2. The property preset is created in Options > Dimensions. With a little editing of the resulting leaders, the third example gives another idea of a use for the script.
--Larry

|