Macro to display dimensions of the hypotenuse of the triangle
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have been developing a quick macro that draws a triangle and i am trying to get the macro to add the dimensions to the drawing for me. I have been able to use the qdim function to get the dimensions for the horizontal and vertical lengths of the triangle but qdim does not work with the hypotenuse, It gives you either the horizontal distance or vertical distance regardless of Ortho mode.
I was wondering if anyone has figured out a way to measure the diagonal of a triangle with a macro.
E: The macro requires the user to pick the length of one side, and then draws the triangle at a fixed angle, this is a process i have to do a lot in my job so i figured id try to automate it.
this is my macro so far if anyone wants to run it and see how it works so far:
^C^C_ortho;on;_line;-50,-20;@100<270;\@100<28;x;_trim;;f;-41,-100;-60,-15;;^C_ortho;off;_Qdim;-135,-65;-25,-140;;-35,-102;_Qdim;-55,-126;-58,-105;;-85,-130;
