Bill Tillman Posted September 27, 2012 Share Posted September 27, 2012 I've searched for this because I thought I saw it here somewhere before. How can add a dimension using LISP and force it to be vertical or horizontal? Quote Link to comment Share on other sites More sharing options...
Stefan BMR Posted September 27, 2012 Share Posted September 27, 2012 How is dimension added? If you use (command ... then (command "DIMLINEAR" p1 p2 "V" p3); or H for horizontal Using entmake, DXF code 50 is for rotation angle (0 for horizontal and pi/2=1.5708... for vertical dimensions) Quote Link to comment Share on other sites More sharing options...
Bill Tillman Posted September 28, 2012 Author Share Posted September 28, 2012 Thanks, I have some stubborn dims that won't stay vertical. I use the command method. I've done it with entmake but that creates 20 or so lines of code in lieu of the single line needed for the command method. Quote Link to comment Share on other sites More sharing options...
MSasu Posted September 28, 2012 Share Posted September 28, 2012 Please check if this helps... Quote Link to comment Share on other sites More sharing options...
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.