Darn, that's pretty much how I had it before. That's a good way to set it up
automatically if I can't make this work though, thanks.
I tried deleting the competing entry in acad.pgp & it had no effect.
I did a test, after setting the visual lisp editor to debug > animate mode to
track what was happening, it would run some of the commands defined in
myfile.lsp but not animated as I would expect.
What I've been doing is just typing (load "myfile") when I run across the
missing mtext shortcut to make it load properly so I did that... & the commands
suddenly begin running in animated mode as expected.
Hmmm?
Bernard Flavignard wrote:
> Paul,
>
> Why not use this in your ACAD.lsp
>
> ;chargement automatique de ACAD.lsp pour chaque nouveau dessin de la session
> courante
> (setvar "ACADLSPASDOC" 1)
>
> So acad.lsp is loaded in each drawing, and you can work as before.
>
> Bernard
> ATC
> 45700 Villemandeur
> France
> Paul Furman
a écrit dans le message :
> 3BB750F6.BDEFF0D8@edgehill.net...
> > Can't I just put a single lone line like
> > this in acaddoc.lsp to run on the
> > startup of every drawing?:
> > (load "myfile.lsp")
> >
> > When I was using the previous setup with
> > acad.lsp, I only loaded additional
> > routines like this:
> > (defun c:LABEL() (load "LABEL.lsp")
> > (c:label))
> > ...so that it was only loaded if you
> > call it
> >
> > But, now I've got half of my routines in
> > a separate file that I want to load
> > every time. Does this need to go in the
> > c:startup format? Maybe that's what I've
> > done wrong.
> >
> > thanks,
> > Paul
> >