zaphod Posted Thursday at 01:02 PM Posted Thursday at 01:02 PM Hello, I'm trying to create a macro to dimension angles using a vertex starting at 0,0 to 0,1, and then a point. I thought it would be rather simple compared to other things that I have tried. I thought that this would do what I want, but for some reason the first line in the angle is all over the place. Any ideas as to why? ^C^C^C_dimangular;;0,0;0,1;\ Quote
zaphod Posted yesterday at 08:22 PM Author Posted yesterday at 08:22 PM I did find a lisp on the Autodesk forums that will work for what I need, but I was really trying to get the macro to work. https://forums.autodesk.com/t5/visual-lisp-autolisp-and-general/command-for-multiple-angle-dims-picking-vertex-and-start-point/m-p/9637278 Quote
pkenewell Posted 23 hours ago Posted 23 hours ago (edited) LOL @zaphod - your username wouldn't be a reference to "Zaphod Beeblebrox" would it? Sorry i didn't answer you're OG question - just a Douglas Adams nerd haha. Seriously, I think the problem is the second point must be in a clockwise direction from the first line, meaning if you select an area in the first quadrant you are in a counter-clockwise rotation, and it will give you the obtuse side of the circle instead of the inside angle. For doing an angle from 0-90deg, you would need to start at 0,0;1,0 instead. Edited 23 hours ago by pkenewell Quote
zaphod Posted 8 hours ago Author Posted 8 hours ago 13 hours ago, pkenewell said: LOL @zaphod - your username wouldn't be a reference to "Zaphod Beeblebrox" would it? Indeed, it is sir. Thank you for looking into this issue of mine. Although I'm not certain of what causes the error that I'm seeing, I have the same "Macro" written out on one of my gaming devices, it works, until AutoCAD becomes a dyslexic child. That caused me to look for an "internal" method to AutoCAD. Starting at around 2°, these were my results this morning. Multiple completely different random starting lines. I'm not sure what you mean by changing the start point, I want it to start on the 0° axis from 0,0. I do not use "Dynamic Input" or "Dynamic UCS". Quote
zaphod Posted 6 hours ago Author Posted 6 hours ago solution from the Autodesk forums "*^C^C^C_dimangular;;non;0,0;non;0,1;\NON" 1 Quote
pkenewell Posted 4 hours ago Posted 4 hours ago 1 hour ago, zaphod said: solution from the Autodesk forums "*^C^C^C_dimangular;;non;0,0;non;0,1;\NON" Ah Yes - those pesky object snaps getting in the way! What I meant was changing the starting axis from Y (0,0;0,1) to the X axis (0,0;1,0) for angles going CCW within 0 to 90 deg. Sounds like I misunderstood the problem though? Quote
zaphod Posted 1 hour ago Author Posted 1 hour ago 3 hours ago, pkenewell said: Ah Yes - those pesky object snaps getting in the way! What I meant was changing the starting axis from Y (0,0;0,1) to the X axis (0,0;1,0) for angles going CCW within 0 to 90 deg. Sounds like I misunderstood the problem though? My fault for not stating all the angles were to be measured CW or CCW from 0°. Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.