Mark, don't know if it helps in your case (vba), but you could try and
create a new acad session and do the loop there.
Once finished, just close the session.
But of course, it could get messy doing that from VBA.
--
Saludos, Ing. Jorge Jimenez, SICAD S.A., Costa Rica
(sorry, phony e-mail, SPAM made me do it)
"Mark Propst" wrote in message
news:40a7dfd9_2@newsprd01...
> Thanks for the confirmation,
> In this case I just wanted to auto set the ProjectName on several folders
> and their subfolders.
> Its easy enough to just open the dwgs in a loop as go the dbx route, just
> wanted to confirm that I wasn't just 'not' seeing it. I know that's a
> double negative but it still seems the right way to say it!?!
> :-)
> The obvious downside of having to open in the editor to do whatever..is
> tying up the 'hosting' application - the session of acad from which the
call
> to the routine was made. (assuming vba)
> But it seems that's the case with dbx as well, If i start a dbx loop, it
> still seems to capture acad's attention and I can print messages to
command
> line or such but I haven't figured a way to make a loop "run in the
> background" - such that the user could go back to editing the current
> drawing while the loop is doing it's thing....
> I guess that should be a whole different thread.
> Thanks again for the info, Tony
> Mark
>
> "Tony Tanzillo" wrote in message
> news:40a6f72e$1_3@newsprd01...
> > Since GetVariable and SetVariable are methods of AcadDocument,
> > they only work on AcadDocuments (they're just wrappers for
> > the ObjectARX counterpart of the (getvar) and (setvar) LISP
> > functions). So there's no method for getting/setting system
> > variables stored in drawings that are accessed directly via
> > ObjectDBX.
> >
>
>