Drawing History

Drawing History

Anonymous
Not applicable
223 Views
10 Replies
Message 1 of 11

Drawing History

Anonymous
Not applicable
This is a multi-part message in MIME format.

------=_NextPart_000_007E_01BF304F.C53B4A10
Content-Type: text/plain;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable

Do I have access to the code that AutoCAD executes when I choose a =
recent file on the "File" menu and AutoCAD executes the open command on =
the file.

This operations seems to kill my acad.lsp and I get a message at the =
command prompt:

Lisp command not available.

Then none of my custom programs or the express tools work....

--=20
Rodney D. Lester
Systems Manager
GMS, Inc.

------=_NextPart_000_007E_01BF304F.C53B4A10
Content-Type: text/html;
charset="iso-8859-1"
Content-Transfer-Encoding: quoted-printable



http-equiv=3DContent-Type>





Do I have access to the code that =
AutoCAD executes=20
when I choose a recent file on the "File" menu and AutoCAD executes the =
open=20
command on the file.

 

This operations seems to kill my =
acad.lsp and I=20
get a message at the command prompt:

 

Lisp command not =
available.

 

Then none of my custom programs or the =
express=20
tools work....


--
Rodney D. Lester
Systems =

Manager
GMS, Inc.


------=_NextPart_000_007E_01BF304F.C53B4A10--
0 Likes
224 Views
10 Replies
Replies (10)
Message 2 of 11

Anonymous
Not applicable
In a word - No, at least with AutoLISP.

Also, you cannot normally start a lisp program in one drawing and continue
it in a following drawing.

Some suggestions that may help otherwise:

1. Make sure that your directory and the express directory are listed in
Options/Files.
2. If you are using A2K, either set acadlspasdoc to 1, or
3. Rename your acad.lsp to acaddoc.lsp.
4. Explain your problem in a little more detail.
--
Dave D
(remove '-' for Email)

Rodney D. Lester wrote in article
<80sieb$mb87@adesknews2.autodesk.com>...
Do I have access to the code that AutoCAD executes when I choose a recent
file on the "File" menu and AutoCAD executes the open command on the file.

This operations seems to kill my acad.lsp and I get a message at the
command prompt:

Lisp command not available.

Then none of my custom programs or the express tools work....

--
Rodney D. Lester
Systems Manager
GMS, Inc.

----------
0 Likes
Message 3 of 11

Anonymous
Not applicable
The path to my custom programs directory is in Options/Files. acadlspasdoc
is set to 1. SDI is set to 1.
The only time I get the message is when I pick a drawing of the File|Drawing
History....

The acad.lsp file load as it should when I do a standard "Open"......

I don't know anything else to tell...

I have tried to change my acad.lsp to acaddoc.lsp - same results.......

--
Rodney D. Lester
Systems Manager
GMS, Inc.

David Doane wrote in message
news:01bf30b0$96445060$7a57d2d0@lms-1...
> In a word - No, at least with AutoLISP.
>
> Also, you cannot normally start a lisp program in one drawing and continue
> it in a following drawing.
>
> Some suggestions that may help otherwise:
>
> 1. Make sure that your directory and the express directory are listed in
> Options/Files.
> 2. If you are using A2K, either set acadlspasdoc to 1, or
> 3. Rename your acad.lsp to acaddoc.lsp.
> 4. Explain your problem in a little more detail.
> --
> Dave D
> (remove '-' for Email)
>
> Rodney D. Lester wrote in article
> <80sieb$mb87@adesknews2.autodesk.com>...
> Do I have access to the code that AutoCAD executes when I choose a recent
> file on the "File" menu and AutoCAD executes the open command on the file.
>
> This operations seems to kill my acad.lsp and I get a message at the
> command prompt:
>
> Lisp command not available.
>
> Then none of my custom programs or the express tools work....
>
> --
> Rodney D. Lester
> Systems Manager
> GMS, Inc.
>
>
> ----------
>
0 Likes
Message 4 of 11

Anonymous
Not applicable
Its seems as if it has something to do with the SDI... When set to 1 I have
the problems... If set to 0, the acad.lsp seems to load with each drawing...

--
Rodney D. Lester
Systems Manager
GMS, Inc.

Rodney D. Lester wrote in message
news:80uj1c$qv82@adesknews2.autodesk.com...
> The path to my custom programs directory is in Options/Files. acadlspasdoc
> is set to 1. SDI is set to 1.
> The only time I get the message is when I pick a drawing of the
File|Drawing
> History....
>
> The acad.lsp file load as it should when I do a standard "Open"......
>
> I don't know anything else to tell...
>
> I have tried to change my acad.lsp to acaddoc.lsp - same results.......
>
> --
> Rodney D. Lester
> Systems Manager
> GMS, Inc.
>
>
> David Doane wrote in message
> news:01bf30b0$96445060$7a57d2d0@lms-1...
> > In a word - No, at least with AutoLISP.
> >
> > Also, you cannot normally start a lisp program in one drawing and
continue
> > it in a following drawing.
> >
> > Some suggestions that may help otherwise:
> >
> > 1. Make sure that your directory and the express directory are listed
in
> > Options/Files.
> > 2. If you are using A2K, either set acadlspasdoc to 1, or
> > 3. Rename your acad.lsp to acaddoc.lsp.
> > 4. Explain your problem in a little more detail.
> > --
> > Dave D
> > (remove '-' for Email)
> >
> > Rodney D. Lester wrote in article
> > <80sieb$mb87@adesknews2.autodesk.com>...
> > Do I have access to the code that AutoCAD executes when I choose a
recent
> > file on the "File" menu and AutoCAD executes the open command on the
file.
> >
> > This operations seems to kill my acad.lsp and I get a message at the
> > command prompt:
> >
> > Lisp command not available.
> >
> > Then none of my custom programs or the express tools work....
> >
> > --
> > Rodney D. Lester
> > Systems Manager
> > GMS, Inc.
> >
> >
> > ----------
> >
>
>
0 Likes
Message 5 of 11

Anonymous
Not applicable
Rodney,

I fear that I am at a loss. Everything I have gets loaded when selecting a
'history file' no matter how SDI is set, or how acadlspasdoc is set, just
as if I had typed 'open'.
--
Dave D
(remove '-' for Email)

Rodney D. Lester wrote in article
<80uj1c$qv82@adesknews2.autodesk.com>...
> The path to my custom programs directory is in Options/Files.
acadlspasdoc
> is set to 1. SDI is set to 1.
> The only time I get the message is when I pick a drawing of the
File|Drawing
> History....
>
> The acad.lsp file load as it should when I do a standard "Open"......
>
> I don't know anything else to tell...
>
> I have tried to change my acad.lsp to acaddoc.lsp - same results.......
>
> --
> Rodney D. Lester
> Systems Manager
> GMS, Inc.
>
>
> David Doane wrote in message
> news:01bf30b0$96445060$7a57d2d0@lms-1...
> > In a word - No, at least with AutoLISP.
> >
> > Also, you cannot normally start a lisp program in one drawing and
continue
> > it in a following drawing.
> >
> > Some suggestions that may help otherwise:
> >
> > 1. Make sure that your directory and the express directory are listed
in
> > Options/Files.
> > 2. If you are using A2K, either set acadlspasdoc to 1, or
> > 3. Rename your acad.lsp to acaddoc.lsp.
> > 4. Explain your problem in a little more detail.
> > --
> > Dave D
> > (remove '-' for Email)
> >
> > Rodney D. Lester wrote in article
> > <80sieb$mb87@adesknews2.autodesk.com>...
> > Do I have access to the code that AutoCAD executes when I choose a
recent
> > file on the "File" menu and AutoCAD executes the open command on the
file.
> >
> > This operations seems to kill my acad.lsp and I get a message at the
> > command prompt:
> >
> > Lisp command not available.
> >
> > Then none of my custom programs or the express tools work....
> >
> > --
> > Rodney D. Lester
> > Systems Manager
> > GMS, Inc.
> >
> >
> > ----------
> >
>
>
>
0 Likes
Message 6 of 11

Anonymous
Not applicable
Thanks anyway... I can't figure out whats going on...

--
Rodney D. Lester
Systems Manager
GMS, Inc.

David Doane wrote in message
news:01bf311d$8e68aae0$4256d2d0@lms-1...
> Rodney,
>
> I fear that I am at a loss. Everything I have gets loaded when selecting
a
> 'history file' no matter how SDI is set, or how acadlspasdoc is set, just
> as if I had typed 'open'.
> --
> Dave D
> (remove '-' for Email)
>
>
> Rodney D. Lester wrote in article
> <80uj1c$qv82@adesknews2.autodesk.com>...
> > The path to my custom programs directory is in Options/Files.
> acadlspasdoc
> > is set to 1. SDI is set to 1.
> > The only time I get the message is when I pick a drawing of the
> File|Drawing
> > History....
> >
> > The acad.lsp file load as it should when I do a standard "Open"......
> >
> > I don't know anything else to tell...
> >
> > I have tried to change my acad.lsp to acaddoc.lsp - same results.......
> >
> > --
> > Rodney D. Lester
> > Systems Manager
> > GMS, Inc.
> >
> >
> > David Doane wrote in message
> > news:01bf30b0$96445060$7a57d2d0@lms-1...
> > > In a word - No, at least with AutoLISP.
> > >
> > > Also, you cannot normally start a lisp program in one drawing and
> continue
> > > it in a following drawing.
> > >
> > > Some suggestions that may help otherwise:
> > >
> > > 1. Make sure that your directory and the express directory are listed
> in
> > > Options/Files.
> > > 2. If you are using A2K, either set acadlspasdoc to 1, or
> > > 3. Rename your acad.lsp to acaddoc.lsp.
> > > 4. Explain your problem in a little more detail.
> > > --
> > > Dave D
> > > (remove '-' for Email)
> > >
> > > Rodney D. Lester wrote in article
> > > <80sieb$mb87@adesknews2.autodesk.com>...
> > > Do I have access to the code that AutoCAD executes when I choose a
> recent
> > > file on the "File" menu and AutoCAD executes the open command on the
> file.
> > >
> > > This operations seems to kill my acad.lsp and I get a message at the
> > > command prompt:
> > >
> > > Lisp command not available.
> > >
> > > Then none of my custom programs or the express tools work....
> > >
> > > --
> > > Rodney D. Lester
> > > Systems Manager
> > > GMS, Inc.
> > >
> > >
> > > ----------
> > >
> >
> >
> >
0 Likes
Message 7 of 11

Anonymous
Not applicable
Does anyone have any idea what command is being run when selecting a drawing
from the Drawing History in the file menu?
I assume that AutoCAD is running a routine to flesh out the history, and
somehow running "Open" with the included drawing name, but am at a loss as
to what and how it's running.
Why does this matter? Just ties into issues dealing with search paths.

Any other menu selection has a command associated with it (with the
exception of "Send..."). The Drawing History menu selection looks more like
a menu title, i.e.:
ID_MRU [Drawing History]
looks more like:
ID_MnFile [&File]
as opposed to:
ID_APP_EXIT [E&xit]^c^c_quit

Failing that, how can I disable it without making any modifications to the
acad menu itself?

I can disable any menu item that I want by using (reference the above
example for the exit selection):
(menucmd "Gacad.ID_APP_EXIT=~")
But this fails on the Drawing History selection because what actually exists
there is a list of created from the registry, and I don't know how to
address them.
BTW, Have also tried (menucmd "P1.21=~") just to see if it would work (with
various values in the "21" slot) to no avail...

Any help would be appreciated.


--
Gary J. Orr
CADD Manager
(218) 279-2421
Gary.Orr@LHBcorp.com

LHB Engineers and Architects
21 West Superior Street, Suite 500
Duluth, Mn 55802
(218) 727-8446
www.LHBcorp.com
0 Likes
Message 8 of 11

Anonymous
Not applicable
As you noted, changing the menu isn't going to help you any. However, you
can disable it by setting the number of drawings in the MRU to 0. In
Options>Open and Save tab, set 'number of recently used files to list' to 0.
You can do it programattically using vlisp to access
AcadPreferencesOpenSave.MRUNumber.

--
Ed
--

"Gary J. Orr" wrote in message
news:CAE3554898BBAF07D39391E1E55BFBC6@in.WebX.maYIadrTaRb...
> Does anyone have any idea what command is being run when selecting a
drawing
> from the Drawing History in the file menu?
> I assume that AutoCAD is running a routine to flesh out the history, and
> somehow running "Open" with the included drawing name, but am at a loss as
> to what and how it's running.
> Why does this matter? Just ties into issues dealing with search paths.
>
> Any other menu selection has a command associated with it (with the
> exception of "Send..."). The Drawing History menu selection looks more
like
> a menu title, i.e.:
> ID_MRU [Drawing History]
> looks more like:
> ID_MnFile [&File]
> as opposed to:
> ID_APP_EXIT [E&xit]^c^c_quit
>
> Failing that, how can I disable it without making any modifications to the
> acad menu itself?
>
> I can disable any menu item that I want by using (reference the above
> example for the exit selection):
> (menucmd "Gacad.ID_APP_EXIT=~")
> But this fails on the Drawing History selection because what actually
exists
> there is a list of created from the registry, and I don't know how to
> address them.
> BTW, Have also tried (menucmd "P1.21=~") just to see if it would work
(with
> various values in the "21" slot) to no avail...
>
> Any help would be appreciated.
>
>
> --
> Gary J. Orr
> CADD Manager
> (218) 279-2421
> Gary.Orr@LHBcorp.com
>
> LHB Engineers and Architects
> 21 West Superior Street, Suite 500
> Duluth, Mn 55802
> (218) 727-8446
> www.LHBcorp.com
>
>
0 Likes
Message 9 of 11

Anonymous
Not applicable
Not only good but fast as well...
Thanx

--
Gary J. Orr
CADD Manager
(218) 279-2421
Gary.Orr@LHBcorp.com

LHB Engineers and Architects
21 West Superior Street, Suite 500
Duluth, Mn 55802
(218) 727-8446
www.LHBcorp.com
"Ed Jobe" wrote in message
news:79DB81AB4898D873F98142CAA572655A@in.WebX.maYIadrTaRb...
> As you noted, changing the menu isn't going to help you any. However, you
> can disable it by setting the number of drawings in the MRU to 0. In
> Options>Open and Save tab, set 'number of recently used files to list' to
0.
> You can do it programattically using vlisp to access
> AcadPreferencesOpenSave.MRUNumber.
>
> --
> Ed
> --
>
> "Gary J. Orr" wrote in message
> news:CAE3554898BBAF07D39391E1E55BFBC6@in.WebX.maYIadrTaRb...
> > Does anyone have any idea what command is being run when selecting a
> drawing
> > from the Drawing History in the file menu?
> > I assume that AutoCAD is running a routine to flesh out the history, and
> > somehow running "Open" with the included drawing name, but am at a loss
as
> > to what and how it's running.
> > Why does this matter? Just ties into issues dealing with search paths.
> >
> > Any other menu selection has a command associated with it (with the
> > exception of "Send..."). The Drawing History menu selection looks more
> like
> > a menu title, i.e.:
> > ID_MRU [Drawing History]
> > looks more like:
> > ID_MnFile [&File]
> > as opposed to:
> > ID_APP_EXIT [E&xit]^c^c_quit
> >
> > Failing that, how can I disable it without making any modifications to
the
> > acad menu itself?
> >
> > I can disable any menu item that I want by using (reference the above
> > example for the exit selection):
> > (menucmd "Gacad.ID_APP_EXIT=~")
> > But this fails on the Drawing History selection because what actually
> exists
> > there is a list of created from the registry, and I don't know how to
> > address them.
> > BTW, Have also tried (menucmd "P1.21=~") just to see if it would work
> (with
> > various values in the "21" slot) to no avail...
> >
> > Any help would be appreciated.
> >
> >
> > --
> > Gary J. Orr
> > CADD Manager
> > (218) 279-2421
> > Gary.Orr@LHBcorp.com
> >
> > LHB Engineers and Architects
> > 21 West Superior Street, Suite 500
> > Duluth, Mn 55802
> > (218) 727-8446
> > www.LHBcorp.com
> >
> >
>
>
0 Likes
Message 10 of 11

Anonymous
Not applicable
For anyone else watching, here is a method to set the value:

(setenv "MRUFilesToList" "0")

--
Gary J. Orr
CADD Manager
(218) 279-2421
Gary.Orr@LHBcorp.com

LHB Engineers and Architects
21 West Superior Street, Suite 500
Duluth, Mn 55802
(218) 727-8446
www.LHBcorp.com
"Gary J. Orr" wrote in message
news:FEB269A7822E377507A2D8D07F8B167B@in.WebX.maYIadrTaRb...
> Not only good but fast as well...
> Thanx
>
> --
> Gary J. Orr
> CADD Manager
> (218) 279-2421
> Gary.Orr@LHBcorp.com
>
> LHB Engineers and Architects
> 21 West Superior Street, Suite 500
> Duluth, Mn 55802
> (218) 727-8446
> www.LHBcorp.com
> "Ed Jobe" wrote in message
> news:79DB81AB4898D873F98142CAA572655A@in.WebX.maYIadrTaRb...
> > As you noted, changing the menu isn't going to help you any. However,
you
> > can disable it by setting the number of drawings in the MRU to 0. In
> > Options>Open and Save tab, set 'number of recently used files to list'
to
> 0.
> > You can do it programattically using vlisp to access
> > AcadPreferencesOpenSave.MRUNumber.
> >
> > --
> > Ed
> > --
> >
> > "Gary J. Orr" wrote in message
> > news:CAE3554898BBAF07D39391E1E55BFBC6@in.WebX.maYIadrTaRb...
> > > Does anyone have any idea what command is being run when selecting a
> > drawing
> > > from the Drawing History in the file menu?
> > > I assume that AutoCAD is running a routine to flesh out the history,
and
> > > somehow running "Open" with the included drawing name, but am at a
loss
> as
> > > to what and how it's running.
> > > Why does this matter? Just ties into issues dealing with search paths.
> > >
> > > Any other menu selection has a command associated with it (with the
> > > exception of "Send..."). The Drawing History menu selection looks more
> > like
> > > a menu title, i.e.:
> > > ID_MRU [Drawing History]
> > > looks more like:
> > > ID_MnFile [&File]
> > > as opposed to:
> > > ID_APP_EXIT [E&xit]^c^c_quit
> > >
> > > Failing that, how can I disable it without making any modifications to
> the
> > > acad menu itself?
> > >
> > > I can disable any menu item that I want by using (reference the above
> > > example for the exit selection):
> > > (menucmd "Gacad.ID_APP_EXIT=~")
> > > But this fails on the Drawing History selection because what actually
> > exists
> > > there is a list of created from the registry, and I don't know how to
> > > address them.
> > > BTW, Have also tried (menucmd "P1.21=~") just to see if it would work
> > (with
> > > various values in the "21" slot) to no avail...
> > >
> > > Any help would be appreciated.
> > >
> > >
> > > --
> > > Gary J. Orr
> > > CADD Manager
> > > (218) 279-2421
> > > Gary.Orr@LHBcorp.com
> > >
> > > LHB Engineers and Architects
> > > 21 West Superior Street, Suite 500
> > > Duluth, Mn 55802
> > > (218) 727-8446
> > > www.LHBcorp.com
> > >
> > >
> >
> >
>
>
0 Likes
Message 11 of 11

Anonymous
Not applicable
PS Don't set it above 9 unless you want to waste a little time next morning
figuring why Acad won't run. 🙂

Gary J. Orr wrote in message
news:11A7B84F19B451BA47EE6735D5E52C29@in.WebX.maYIadrTaRb...
> For anyone else watching, here is a method to set the value:
>
> (setenv "MRUFilesToList" "0")
>
> --
> Gary J. Orr
> CADD Manager
> (218) 279-2421
> Gary.Orr@LHBcorp.com
>
> LHB Engineers and Architects
> 21 West Superior Street, Suite 500
> Duluth, Mn 55802
> (218) 727-8446
> www.LHBcorp.com
> "Gary J. Orr" wrote in message
> news:FEB269A7822E377507A2D8D07F8B167B@in.WebX.maYIadrTaRb...
> > Not only good but fast as well...
> > Thanx
> >
> > --
> > Gary J. Orr
> > CADD Manager
> > (218) 279-2421
> > Gary.Orr@LHBcorp.com
> >
> > LHB Engineers and Architects
> > 21 West Superior Street, Suite 500
> > Duluth, Mn 55802
> > (218) 727-8446
> > www.LHBcorp.com
> > "Ed Jobe" wrote in message
> > news:79DB81AB4898D873F98142CAA572655A@in.WebX.maYIadrTaRb...
> > > As you noted, changing the menu isn't going to help you any. However,
> you
> > > can disable it by setting the number of drawings in the MRU to 0. In
> > > Options>Open and Save tab, set 'number of recently used files to list'
> to
> > 0.
> > > You can do it programattically using vlisp to access
> > > AcadPreferencesOpenSave.MRUNumber.
> > >
> > > --
> > > Ed
> > > --
> > >
> > > "Gary J. Orr" wrote in message
> > > news:CAE3554898BBAF07D39391E1E55BFBC6@in.WebX.maYIadrTaRb...
> > > > Does anyone have any idea what command is being run when selecting a
> > > drawing
> > > > from the Drawing History in the file menu?
> > > > I assume that AutoCAD is running a routine to flesh out the history,
> and
> > > > somehow running "Open" with the included drawing name, but am at a
> loss
> > as
> > > > to what and how it's running.
> > > > Why does this matter? Just ties into issues dealing with search
paths.
> > > >
> > > > Any other menu selection has a command associated with it (with the
> > > > exception of "Send..."). The Drawing History menu selection looks
more
> > > like
> > > > a menu title, i.e.:
> > > > ID_MRU [Drawing History]
> > > > looks more like:
> > > > ID_MnFile [&File]
> > > > as opposed to:
> > > > ID_APP_EXIT [E&xit]^c^c_quit
> > > >
> > > > Failing that, how can I disable it without making any modifications
to
> > the
> > > > acad menu itself?
> > > >
> > > > I can disable any menu item that I want by using (reference the
above
> > > > example for the exit selection):
> > > > (menucmd "Gacad.ID_APP_EXIT=~")
> > > > But this fails on the Drawing History selection because what
actually
> > > exists
> > > > there is a list of created from the registry, and I don't know how
to
> > > > address them.
> > > > BTW, Have also tried (menucmd "P1.21=~") just to see if it would
work
> > > (with
> > > > various values in the "21" slot) to no avail...
> > > >
> > > > Any help would be appreciated.
> > > >
> > > >
> > > > --
> > > > Gary J. Orr
> > > > CADD Manager
> > > > (218) 279-2421
> > > > Gary.Orr@LHBcorp.com
> > > >
> > > > LHB Engineers and Architects
> > > > 21 West Superior Street, Suite 500
> > > > Duluth, Mn 55802
> > > > (218) 727-8446
> > > > www.LHBcorp.com
> > > >
> > > >
> > >
> > >
> >
> >
>
>
0 Likes