How to continue dimension but aligned to other lines which I want to measure ? Is there something like combination dimaligned and dimcontinue? Please help, thanks in advance!
Solved! Go to Solution.
Solved by Kent1Cooper. Go to Solution.
Solved by Kent1Cooper. Go to Solution.
Yes. Use the DIMCONTINUE command. It will start at the last dimension that was placed. Or you can use the SELECT option after you start the command.
Thanks for the reply, but i have to measure many times spaces that are not linear and to shorten the time i thought there was an option like a combination of these two commands. Becouse dimaligned is too long, need to click many time and neither the continue help becouse it only works linear.
Yes, DIMCONTINUE off an Aligned Dimension makes Rotated ones at the direction of the Aligned one, not more Aligned ones.
Try this [lightly tested]:
(defun C:DIMALIcont (/ pt1 pt2)
(command "_.dimaligned" pause (setq pt1 (getpoint (getvar 'lastpoint))) pause)
(while (setq pt2 (getpoint pt1 "\nNext point in continued DIMALIGNED or <exit>: "))
(command "_.dimaligned" "non" pt1 "non" pt2 pause)
(setq pt1 pt2)
); while
(princ)
); defun
It does require you to pick the dimension-line location for each. Presumably [with a fair amount more code] it could be made to calculate that for you, the same distance from the definition points and on the same side, but I imagine you would get some clashes in some situations.
Thanks for the reply, I made a lisp and applauded it but I'm not sure if it was necessary to enter some command based on the code? Nothing changed, but thanks anyway!
@shonemml wrote:
.... not sure if it was necessary to enter some command based on the code? ....
The command name you enter for custom commands defined in this way is always the part immediately following (defun C: [in this case, the command name is DIMALIcont, which is not case-sensitive]. You can change that part to anything you would rather use for a command name instead, as long as it is not already a command name.
Can't find what you're looking for? Ask the community or share your knowledge.