I added a couple of standard Autocad MAP tabs to a custom panel and in my custom workspace some of the button images don't show up. If I go to the Planning & Analysis workspace, the images are visible, but in the custom workspace, all I get are clouds with a question mark.
I attached two screen shots.
Any ideas??
Solved! Go to Solution.
Solved by andrewpuller3811. Go to Solution.
Clouds with a question mark...
Delete the MyMenu.MNR and it will rebuild itself.
If the clouds with question marks still show up, then you need a support path to the BMP's.
After the support path addition, delete the MNR again and relaunch AutoCAD.
???
Scot-65
A gift of extraordinary Common Sense does not require an Acronym Suffix to be added to my given name.
I have deleted the MNR file and rebuilt it.
I have a support path to my custom BMP's.
The images that are missing are not BMP's or if they are, I don't know where they are located.
They are OTB Autocad buttons that work fine in one workspace and not another.
I dont' think changing workspaces changes any support pathing.
The icons for a groups commands are stored in a dll with the same name as the cuix the commands come from.
The Map Import command icon is located in Map_PlanningAnalysis.dll if the cuix is called Map_PlanningAnalysis.cuix.
Autocad looks to the dll with the same name as the cuix where the command is.
When you copy a command from one cuix to another, the icon does not go with it, autocad looks to the civil.dll (if the new command location is civil.cuix) which does not have the icon you want.
To fix this problem,
Either, create a custom tab in the map cuix and have it shown in your workspace. This will show the map icons correctly but probably not the civil ones.
Or, locate the command in the cui, make sure the source is the map cuix and export the button image. This will export by default to the icons folder. Then select the command that the icon is missing from and click in the box next to Small image. A button with an elipsis, (three dots) will appear, click on this and select the icon you exported. You will need to do this for each of the commands with missing icons. You only have to do this on one machine as the icons are copied into the cuix for future reference so you can copy the cuix to another machine without having to copy tthe exported icons as well.
Your explanation makes sense. I'll try it and see what happens.
It is confusing though if you look at the screen shots i attached before, why some of the icons show up and some don't and they're all from the same Map menu.
does that mean that the file "Map_PlanningAnalysis.dll" only contains icons ?
and if I want to add a new icon how can I push it into my custom dll ?
example I could copy and rename Map_PlanningAnalysis.dll to My.dll and keep building from there.
Thanks for posting this Andrew!!
Learn something new about CAD every day - you solved my issue!!
Steve Hill
Civil Designer / .NET Developer
AutoCAD Certified Professional
AutoCAD Civil 3D Certified Professional
http://redtransitconsultants.com/
Autodesk Exchange Store
Twitter | LinkedIn
Please select the Accept this solution button if my post solves your issue or answers your question.