style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"grauth" <Whenever
href="mailto:thomas.grau@med.siemens.de">thomas.grau@med.siemens.de>
wrote in message
href="news:f0d10a4.-1@WebX.maYIadrTaRb">news:f0d10a4.-1@WebX.maYIadrTaRb...
I open a drawing from a network drive, AutoCAD will get very slow.
Mostly
this takes affect when calling commands opening a dialog box.
Network is
WINNT, 100Mps, NTFS File System.
As there are about 1500 files in the
directory, I think the problem is that ACAD searches the DCL first in the
drawing directory, then in Supportdir.
When I open a drawing in a
networkdrive containing only a few files, it works proberly.
Does anyone
know a workaround?
(Splitting the directory is not usefull for
me)
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"grauth" <Hello
href="mailto:thomas.grau@med.siemens.de">thomas.grau@med.siemens.de>
wrote in message
href="news:f0d10a4.1@WebX.maYIadrTaRb">news:f0d10a4.1@WebX.maYIadrTaRb...
Niel,
I found a workaround:
I structured by directories for my applicaction,
one for Lisp and dcl files, one for DVBs, one for systemblocks.
Than I
modified all my programs (lisp and VBA), for example:
In acaddoc.lsp I set
the directories:
(setq lspdir "C:\\myapp\\lisp\\")
(setq vbadir
"C:\\myapp\\vba\\")
(setq blockdir "C:\\myapp\\blocks\\")
(setvar
"USERS1" vbadir) ;to get the vbadir in VBA
Defun a new load for the lisps:
(defun my_load (mylisp /) (load (strcat lspdir mylisp)))
And I replaced each load with my_load.
load_dialog: (load_dialog (strcat lspdir "MyDialog"))
Inserts: (Command "_INSERT" (strcat blkdir "MyBlock") .....
With this modifications my applications are running very fast, althought
there are about 1500 files in the current drawings
directory.