Hi there.
Is it possible to start a script that runs a few commands in Drawing1, wblocks Drawing2 from Drawing1, opens Drawing2, runs a few commands on Drawing2, closes Drawing2, and finishes up by running something in Drawing1? I have gotten to the penultimate step, but that last set of commands is a doozy that I can't seem to figure out. Any ideas?
Well, you can't "close" drawing 2. But can you open drawing 1? I assume you have SDI = 1 if you are as far as you say you are.
Hi,
If by script you mean a LISP routine, yes, it is possible to do all this, but if you mean a real script, you can't.
I've got both going on. I just thought of a different route, using a temporary docmanager reactor.
Thanks for the confirmation of a dead end. I appreciate it (It sucks staying on a path towards a dead end for too long)
Here is what I always do:
filedia 0
cmddia 0
sdi 1
qsave
open "1.dwg"
edit
edit
edit
qsave
open "2.dwg"
edit
edit
edit
qsave
open "1.dwg"
edit
edit
edit
sdi 1
Does that make sense? If not, I can send you a sample script.