ReachAndre
2006-03-02, 10:05 PM
I am starting to create lisps of my own (FINALLY AFTER YRS) A gentleman was kind enough to paste the lisp below. I am trying to make the first point snap to intersection and the following points snap to center.I noticed on other threads people have use osmode and a code (Ex: code 255..... How doe this work? and where can I find information on OSNAP code. Thanks in advance everyone
Here is the lisp the gentleman was kind enough to write and post for me to use.
(defun c:FakeBaseline (/ Pt1 Pt2)
(if (setq Pt1 (getpoint "n Select baseline origin point: "))
(while (setq Pt2 (getpoint Pt1 "n Select second point for dimension: "))
(command "_.dimlinear" Pt1 Pt2 pause)
)
)
(princ)
)[ Moderator Action = ON ] What are [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]
Here is the lisp the gentleman was kind enough to write and post for me to use.
(defun c:FakeBaseline (/ Pt1 Pt2)
(if (setq Pt1 (getpoint "n Select baseline origin point: "))
(while (setq Pt2 (getpoint Pt1 "n Select second point for dimension: "))
(command "_.dimlinear" Pt1 Pt2 pause)
)
)
(princ)
)[ Moderator Action = ON ] What are [ CODE ] tags... (http://forums.augi.com/misc.php?do=bbcode#code) [ Moderator Action = OFF ]