Message 1 of 11
Object does not show when I using my Autolisp copy!

Not applicable
11-09-2020
12:19 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
There is command in Autolisp show the object when I using my lisp copy?
Autolisp seem not to support this one? help me! The attached file is my expecting......
-------------------------------
(defun C:Copy (/ dt p1 p2 sl x)
(command "undo" "be")
(setq osm (getvar "osmode"))
(setq dt (ssget)
p1 (getpoint "\nStart point: ")
p2 (acet-ss-drag-move dt p1 "\nPicth: " 1 0)
sl (getint "\nNumber of copy: ")
x 1)
(setvar "osmode" 0)
(repeat sl
(command "copy" dt "" p1 (polar p1 (angle p1 p2) (* (distance p1 p2) x)))
(setq x (1+ x)))
(command "undo" "e")
(setvar "osmode" osm)
(princ))
(vl-load-com)
------------------------------------------