Community
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Lars-Ake Johansson [Autodesk]" <
href="mailto:lars-ake.johansson@autodesk.com">lars-ake.johansson@autodesk.com>
wrote in message
href="news:D7C5AC82773D693CFCD5402FF2364D2A@in.WebX.maYIadrTaRb">news:D7C5AC82773D693CFCD5402FF23......
Hi all,
There is a solution to the problem with the
menu files being over written when you invoke them from the pulldown
menus.
You have to do some small changes in two of the
mnl-files, BSDT-ADT.mnl and bsdt4.mnl
1. Browse to C:\Documents and Settings\[your
login]\Application Data\Autodesk\Autodesk Building Systems
2004\R16.0\enu\Support
To avoid that your Building systems menu file
is overwritten you have to change this file:
BSDT-ADT.mnl
1. Double click on BSDT-ADT.mnl
2. Scroll down until you
find
(command "menu"
"BSDT.mnu")
3. Change it to
(command "menu"
"BSDT")
5. Save the file
If you have you toolbars defined in an external
menufile, instead of in the ABS menus, you could add this here as well
after the changed line.
(command "menu"
"BSDT4")
(command "menuload"
"MyOwnMenu")
To avoid that the ACAD and ADT menufiles is
overwritten you have to change this file:
bsdt4.mnl
1. Change this:
(defun switchtoADTMenu ()
(command "menu" "adt.mnu")
(command "menuload"
"BSDT-ADT.mnu")
(princ)
)
to this:
(defun switchtoADTMenu
()
(command "menu"
"adt")
(command "menuload" "BSDT-ADT")
(princ)
)
and this:
(defun switchtoACADMenu ()
(command "menu" "ACAD.mnu")
(command "menuload"
"BSDT-ADT.mnu")
(princ)
)
to this:
(defun switchtoACADMenu
()
(command "menu"
"ACAD")
(command "menuload" "BSDT-ADT")
(princ)
)
(=removing ".mnu" from the menu and menuload
commands)
The reason that this is happening is that
everytime you load an mnu-file, AutoCAD recompiles the
toolbars from scratch and write new mnr, mnc and mns files. (if you edit the
toolbars in AutoCAD, it's NOT saved in the mnu file, only in the mns,mnc and
mnr)
If you don't specify the extension for the
menufile, AutoCAD will only do this if there is no mns,mnr and mnc
fles
Hope this helps
Lars-Ake Johansson
Autodesk BSD QA
size=2>
".A. Bruce Robinson" <> NG'ers
href="mailto:twostrokebruce@rcn,com">
size=2>twostrokebruce@rcn,com> wrote in
message
href="news:0FFB7EA67B7C17F4225191077011333B@in.WebX.maYIadrTaRb">
face=Arial
size=2>news:0FF...
face=Arial size=2>...
>
> how can custom toolbars be retained? with all of the mnu overwriting
going
> on, i don't how keep my customized toolbars and buttons from
being lost
> whenever the pulldown command is invoked.
>
>
your expert replies would most appreciated
>
> bruce robinson in
princeton, nj
>
>
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"A. Bruce Robinson" <
href="mailto:twostrokebruce@rcn.com">twostrokebruce@rcn.com> wrote in
message
href="news:E3A8D1A023694793AE52B3FEB28088A0@in.WebX.maYIadrTaRb">news:E3A8D1A023694793AE52B3FEB28......
Lars:
Thank you for your response. It is greatly
appreciated ! And if it would not be to greedy, could you give us
the fixes for the express tools group, which I where I need help the most
?
TIA for your expert replies
Bruce Robinson in Princeton. NJ
face=Arial size=2>
style="PADDING-RIGHT: 0px; PADDING-LEFT: 5px; MARGIN-LEFT: 5px; BORDER-LEFT: #000000 2px solid; MARGIN-RIGHT: 0px">
"Lars-Ake Johansson [Autodesk]" <
href="mailto:lars-ake.johansson@autodesk.com">lars-ake.johansson@autodesk.com>
wrote in message
href="news:D7C5AC82773D693CFCD5402FF2364D2A@in.WebX.maYIadrTaRb">news:D7C5AC82773D693CFCD5402FF......
Hi all,
There is a solution to the problem with the
menu files being over written when you invoke them from the pulldown
menus.
You have to do some small changes in two of
the mnl-files, BSDT-ADT.mnl and bsdt4.mnl
1. Browse to C:\Documents and Settings\[your
login]\Application Data\Autodesk\Autodesk Building Systems
2004\R16.0\enu\Support
To avoid that your Building systems menu file
is overwritten you have to change this file:
BSDT-ADT.mnl
1. Double click on BSDT-ADT.mnl
2. Scroll down until you
find
(command "menu"
"BSDT.mnu")
3. Change it to
(command "menu"
"BSDT")
5. Save the file
If you have you toolbars defined in an
external menufile, instead of in the ABS menus, you could add this here
as well after the changed line.
(command "menu"
"BSDT4")
(command "menuload"
"MyOwnMenu")
To avoid that the ACAD and ADT menufiles is
overwritten you have to change this file:
bsdt4.mnl
1. Change this:
(defun switchtoADTMenu ()
(command "menu" "adt.mnu")
(command "menuload"
"BSDT-ADT.mnu")
(princ)
)
to this:
(defun switchtoADTMenu
()
(command "menu"
"adt")
(command "menuload" "BSDT-ADT")
(princ)
)
and this:
(defun switchtoACADMenu ()
(command "menu" "ACAD.mnu")
(command "menuload"
"BSDT-ADT.mnu")
(princ)
)
to this:
(defun switchtoACADMenu
()
(command "menu"
"ACAD")
(command "menuload" "BSDT-ADT")
(princ)
)
(=removing ".mnu" from the menu and menuload
commands)
The reason that this is happening is that
everytime you load an mnu-file, AutoCAD recompiles the
toolbars from scratch and write new mnr, mnc and mns files. (if you edit the
toolbars in AutoCAD, it's NOT saved in the mnu file, only in the mns,mnc and
mnr)
If you don't specify the extension for the
menufile, AutoCAD will only do this if there is no mns,mnr and mnc
fles
Hope this helps
Lars-Ake Johansson
Autodesk BSD QA
size=2>
".A. Bruce Robinson" <>
href="mailto:twostrokebruce@rcn,com">
size=2>twostrokebruce@rcn,com> wrote
in message
href="news:0FFB7EA67B7C17F4225191077011333B@in.WebX.maYIadrTaRb">
face=Arial
size=2>ne...
face=Arial size=2>...
NG'ers
>
> how can custom toolbars be retained? with all of the
mnu overwriting going
> on, i don't how keep my customized toolbars
and buttons from being lost
> whenever the pulldown command is
invoked.
>
> your expert replies would most appreciated
>
> bruce robinson in princeton, nj
>
>