本帖最后由 x_s_s_1 于 2013-4-24 17:23 编辑
start4444 发表于 2013-4-24 10:48
一楼已上传了图片说明,继续请教帮忙
仅按图片
- (defun c:test1 (/ pt1 pt2)
- (setq pt1 (getpoint "\n选择基点:"))
- (while (setq pt2 (getpoint pt1 "\n选择结束点:"))
- (entmake (list '(0 . "line") (cons 10 pt1) (cons 11 (polar pt2 (/ pi 2) 500))))
- (entmake (list '(0 . "line") (cons 10 pt2) (cons 11 (polar pt2 (/ pi 2) 500))))
- )
- )
|