Message 1 of 16
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
(defun c:drawTwoRectangles ()
(setq pt1 (getpoint "\nSpecify the first corner of the first rectangle: "))
(setq pt2 (getcorner pt1 "\nSpecify the opposite corner of the first rectangle: "))
(setq width1 (distance pt1 pt2))
(setq width2 0.46)
(command "_rectang" pt1 (polar pt1 (angle pt1 pt2) width1) width1)
(command "_rectang" pt1 (polar pt1 (angle pt1 pt2) width2) (+ width2 width1))
(princ)
)
i pick two points two rectangle will be come but error i attached file in detail
Solved! Go to Solution.