Jump to content

Is it possible to change dimension orientation while performing Dimcontinue?


Recommended Posts

Hi everyone! I've search on forums about this but I'm not finding anything! I'm sure someone asked this question in the past! 

Is it possible to change the dimension orientation with Dimcontinue by 90 degrees each time I would like to change direction without exiting the dimcontinue command in Autocad 2018? If not, would it be possible with programming?

Thank you very much!

Link to comment
Share on other sites

Likely possible with programming, but not within the standard DimContinue functionality.

So you are looking for that dimension to basically show the value of a running dimension

around the perimeter, right?   :huh:

I only ask, for clarification, in case somebody else might be able to help you.   :|

Edited by Dadgad
grammatical fix
Link to comment
Share on other sites

Picking start pt, next pt and a preset dim offset is what you want, set next to start pt, then continue picking next point and repeat. I dont have anything that matches but its a bit like make a pline from pick pts. You would use dim align not hor or ver. 

 

Something like this.

; https://www.cadtutor.net/forum/topic/73968-is-it-possible-to-change-dimension-orientation-while-performing-dimcontinue/
; multi dim by AlanH Nov 2021

(defun c:mdim ( / off pi2 oldsanp pt1 pt2 pt3)

(setq off 5.5 pi2 (/ pi 2.0))

(setq oldsnap (getvar 'osmode))
(setvar 'osmode 1)

(setq pt1 (getpoint "\nPick 1st point "))
(while (setq pt2 (getpoint "\nPick next point Enter to exit"))
(setq ang (angle pt1 pt2))
(setq mp (mapcar '* (mapcar '+ pt1 pt2) '(0.5 0.5 0.5)))
(setq pt3 (polar mp (+ ang pi2) off))
(setvar 'osmode 0)
(command "dim" "align" pt1 pt2 pt3 "" "exit")
(setq pt1 pt2)
(setvar 'osmode 1)
)

(setvar 'osmode oldsnap)

(princ)
)

(c:mdim)

 

 

  • Like 1
Link to comment
Share on other sites

Oh wow! This is amazing, it also work with angle dimensions! Thank you very much, it's exactly what I was looking for! I've notice that my "oldsnap" settings were not displayed correctly at the end of the routine but fortunetly it was just a mistype at the beginning of the program (oldsanp), something I could've take care of and also, it brought me to learn some of the bitcodes in the osmode! So thanks again for the program and for the learning experience as well!

Have a good day BIGAL!

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...