How to rotate effiently
Hi,
I have a very simple Question. I want to rotate two objects , so that it aligns with another line. In the picture below, I want to align the green text and the green line with the cyan line. However, the "rotation line", as I call the dashed orange line, that rotates the object, is far off, which makes it difficult, to align the text exactly.
Is there another way to rotate/align objects along another object?
Thank you!
Comments
-
If I understand you correctly, this custom version of the Rotate command should do what you want:
; --- "RotateVW" rotates a selection set as in VectorWorks --- ; first click is fulcrum point ; second click is start of rotation angle ; third click is end of rotation angle (defun c:RotateVW (/ ss1 p1 p2 p3) (setq ss1 (ssget) ) (if ss1 (progn (setq p1 (getpoint "Vertex: ")) (setq p2 (getpoint p1 "Start of angle: ")) (command "Rotate" ss1 "" p1 "B" p1 p2) ) ) ; if, progn (while (> (getvar "cmdactive") 0) (command pause)) ) ; defun
0 -
Use align command.
0 -
@sbcad
Besides the lisp, just try the "reference" option when using rotate. Watch the command line.
That lets you set the starting angle your cursor will use.
It goes like this:
1) pick item to rotate
2) pick base point
3) type R
4) pick same base point again
5) pick a point to establish base angle, such as insert of text, or end of line, whatever you are rotating
6) pick destination point, say insert or text if rotating line.
try it to see0