Message 1 of 6
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have a simple lisp that copies one object in only the X direction.
I would like to be able to copy the same object to multiple locations in only the X direction.
(defun C:CX( / )
(command "COPY" (ssget) "" (getpoint) ".X" (getpoint) "0")
(princ)
)
I have tried to use a while loop but it seems you can not use the loop inside a command prompt
(defun C:CXM( / )
(initcommandversion)
(command "COPY" (ssget) "" (getpoint) (while t (".X" (getpoint) "0")))
)
How do I get the last copt to prompt to always be filtered in X?
Solved! Go to Solution.