Jump to content

Force Vertical or Horizontal Dimension with LISP


Bill Tillman

Recommended Posts

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?

Link to comment
Share on other sites

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)

Link to comment
Share on other sites

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.

Link to comment
Share on other sites

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.

Guest
Unfortunately, your content contains terms that we do not allow. Please edit your content to remove the highlighted words below.
Reply to this topic...

×   Pasted as rich text.   Restore formatting

  Only 75 emoji are allowed.

×   Your link has been automatically embedded.   Display as a link instead

×   Your previous content has been restored.   Clear editor

×   You cannot paste images directly. Upload or insert images from URL.

×
×
  • Create New...