PDA

View Full Version : Yes, this is another toolbar question.


VERYCIVILDRAFTER
19-10-2004, 01:24 AM
I've got some old r14 toolbars and they don't seem to convert to 2005 worth a damn.

Is it not possible to hard code (type) the path of the bmp file that i want to reference (for a button) into the MNS file.

I used to be able to be able to do something like this:
**TB_PICKBOX
**PICKBOX
ID_PICKBOX [_Toolbar("PICKBOX", _Top, _Show, 2, 0, 1)]
ID_PB6 [_Button("PB6", "Y:\ACAD\TOOLBAR\6.bmp", "ICON_24_BLANK")]'PICKBOX 6
ID_PB3 [_Button("PB6", "Y:\ACAD\TOOLBAR\3.bmp", "ICON_24_BLANK")]'PICKBOX 3

:evil: Now 2005 seems too be to smart to understand a file path. :evil:
Does this mean I have to recreate all my tool bars and buttons in AutoCAD, because I've only got about 6 tool bars and 30 buttons. So far this has been as entertaining as I imagine surviving the Ebola virus is entertaining.

This is what the code for a new tool bar looks like when I go through the effort to recreate my tool bar... I see the differences, but i don't see why I can't just copy paste my path in the bmp section.

**PICKBOX
ID_PICKBOX [_Toolbar("PICKBOX", _Floating, _Show, 382, 159, 1)]
ID_UserButton_2 [_Button("Pick Box Size 3", "RCDA2904.bmp", "RCDATA_16_BLANK")]'PICKBOX 3
ID_UserButton_3 [_Button("Pick Box Size 6", "RCDA6590.bmp", "RCDATA_16_BLANK")]'PICKBOX 6

...the love I bear thee can afford no better term than this: Thou art a villain!

windowsxp5
19-10-2004, 12:20 PM
tools>options, files tab
did u add ur folder in AutoCAD support file search path?
:?:
download Customizing Menus in AutoCAD (http://www.augi.com/education/downloads/ATP043_Segments_All.zip)

VERYCIVILDRAFTER
19-10-2004, 08:55 PM
did u add ur folder in AutoCAD support file search path?

I was beign far too picky and did not want to do that. I am going to give these toolbars to other people to use and I didn't want to have the extra step of adding a support file search path.

However, in the end all I had to was add the search path and delete any kind path referance in my tool bar description.
ID_UserButton_2 [_Button("Pick Box Size 3", "3.bmp", "RCDATA_16_BLANK")]'PICKBOX 3

I was too tired and malnourished last night make the correlation. :oops:



You win some, you lose some, and some times you just don't really care.