danny
You're talking to your self again. Better stop that or they will come and take you away.
Seriously though, there is a problem with wblock and having the objects in another space.
If you try this :
(defun c:wblk (/ ss)
(prompt "\nGetting objects, please wait.... ")
(setq fname "my Test2"
lyr "Rev13-cloud")
;; retrieve all entities in paperspace layouts on layer lyr
(if (setq ss (ssget "_X" (list (cons 8 lyr) '(67 . 1))))
(progn
(Command "-wblock" fname "" "0,0" ss "")
(command ".oops")
)
)
(princ)
)
You'll see that wblock complains about items not in the current space.
I suppose you could create a new Tab and entmake the items in ss in that paper space
then wblock the objects, but would be in the new DWG but the location would be Model space
in the new DWG.
I can't see a solution right off.
You would have to create a drawing with the same Layouts in it & then recreate the entities.
It would be easy to save the entity data to a txt file. But to recreate a dwg with matching
layouts is beyond Lisp, me thinks. At least in one step.
Perhaps someone else has an idea.