Menu Icons
Menu Icons
(OP)
Working with LT...
In creating new buttons with macro routines, each button has an icon associated with it. I find that as I create a new icon, CAD prompts me to "save" or "save as" and I give it a descriptive "name.bmp". The bitmap is saved under the name that I gave it, but it is also saved under a generic name of ICON####.bmp. Unfortunately, the menu file uses the generic name instead of the descriptive name.
Is there some way to avoid this? My office guru says "that's just the way CAD is" but I'm hoping otherwise. It becomes a problem when you want to create a universal menu file to be used on several computers that do not rely on a server for central data storage. With generic names, it is too easy to lose track of what button is what, and chances are you will end up with smiley faces at the next computer.
Suggestions? Thanks in advance.
Bill
Racer24ksi
In creating new buttons with macro routines, each button has an icon associated with it. I find that as I create a new icon, CAD prompts me to "save" or "save as" and I give it a descriptive "name.bmp". The bitmap is saved under the name that I gave it, but it is also saved under a generic name of ICON####.bmp. Unfortunately, the menu file uses the generic name instead of the descriptive name.
Is there some way to avoid this? My office guru says "that's just the way CAD is" but I'm hoping otherwise. It becomes a problem when you want to create a universal menu file to be used on several computers that do not rely on a server for central data storage. With generic names, it is too easy to lose track of what button is what, and chances are you will end up with smiley faces at the next computer.
Suggestions? Thanks in advance.
Bill
Racer24ksi





RE: Menu Icons
Thanks again...
Bill
Racer24ksi
RE: Menu Icons
Example contents of Tim.mns:
//
// AutoCAD menu file - Z:\Menus\Tim\Tim.mnc
//
***MENUGROUP=Tim
***TOOLBARS
**LAYER_CONTROLS
**TB_LAYER_CONTROLS
ID_Layer_Controls_0 [_Toolbar("Layer Controls", _Right, _Show, 0, 2, 1)]
ID_UserButton_0 [_Button("All Layers On", "ICON.bmp", "ICON_16_BLANK")]^C^C-Layer;on;*;;
ID_UserButton_1 [_Button("All Layers Off", "ICON6500.bmp", "ICON_16_BLANK")]^C^C-Layer;off;*;;;
***HELPSTRINGS
ID_USERBUTTON_0 [Turn All Layers On]
ID_USERBUTTON_1 [Turn All Layers Off]
//
// End of AutoCAD menu file - Z:\Menus\Tim\Tim.mnc
//
Change to:
//
// AutoCAD menu file - Z:\Menus\Tim\Tim.mnc
//
***MENUGROUP=Tim
***TOOLBARS
**LAYER_CONTROLS
**TB_LAYER_CONTROLS
ID_Layer_Controls_0 [_Toolbar("Layer Controls", _Right, _Show, 0, 2, 1)]
ID_UserButton_0 [_Button("All Layers On", "My_Layer_On.bmp", "ICON_16_BLANK")]^C^C-Layer;on;*;;
ID_UserButton_1 [_Button("All Layers Off", "My_Layer_Off.bmp", "ICON_16_BLANK")]^C^C-Layer;off;*;;;
***HELPSTRINGS
ID_USERBUTTON_0 [Turn All Layers On]
ID_USERBUTTON_1 [Turn All Layers Off]
//
// End of AutoCAD menu file - Z:\Menus\Tim\Tim.mnc
//
RE: Menu Icons
Manual editing of the .mns file is the only option?
And does this create more problems from a management perspective, or is it worth the time and effort?
My tendency would be to do just what you described, but it is tedious. I want to make sure that it is a good practice before doing it every time.
Bill
Racer24ksi
RE: Menu Icons
RE: Menu Icons
Dumb question I know but I have this old drawing sent to me with a note diameter to be concentric to within 0.127mm T.I.R. Datum A. For the life of me I cannot remember what T.I.R. stands for. Thanks in advance JimP178
RE: Menu Icons
DimensionalSolutions@Core.com
While I welcome e-mail messages, please post all thread activity in these forums for the benefit of all members.