- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
Hello,
I am trying to create a custom icon menu that you can access from the default icon menu. I would also like to be able to return to the default menu from my custom menu. These menus are to be shared among the office and kept on a centralized network.
What I have done:
1) Created a folder on the network that contains my two .dat files - ACE_JIC_MENU.dat and my_custom_menu.dat - along with the symbol libraries
2) I have moved the wd.env file to a location on the network and removed from my local machine.
3) I have added these locations to the top of my Support file Search Path within ACADE Options.
4) I have added the following line to my ACE_JIC_MENU.dat file
Celco Symbols|IMAGES\Celco_Mark.png|$C=(c:wd_loadmenu "celco_schematic.dat")(c:wd_insym_dlg)(c:wd_loadmenu "”)
5) I have added the following line to my custom.dat file:
Default|IMAGES\acad.PNG|$C=(c:wd_loadmenu "ACE_JIC_MENU.DAT")(c:wd_insym_go2menu 0)(c:wd_loadmenu "”)
Now what happens is:
1) Open an ACADE project and select the Icon Menu button. The command line shows that ACADE is reading the correct ACE_JIC_MENU.DAT location.
2) The default menu appears along with a button that will take me to my custom menu.
3) I press the custom button and I am taken to my custom menu. Again, the command line shows I am reading the correct location.
4) On the custom menu a button appears that is labeled 'Default' and has the corresponding image.
4) When I click this default button the icon menu will close and the following appears in the command line:
C:/Users/bpeake/AppData/Roaming/Autodesk/AutoCAD Electrical 2017/R21.0/enu/Support/user/picked.scr
Command: ("_>
5) If I click back into the icon menu I am brought back to my custom menu.
6) If I click on 'default' once more I will return to the default menu and the command line will tell me ACADE is reading from the correct ACE_JIC_MENU.dat location.
It seems as if the first time I click default button the function will not finish running because I am unable to enter any other commands (Line for example) without hitting escape. When I hit escape the command line reads:
*Cancel*; error: function cancelled
Any ideas would be very helpful. Thanks a lot.
Brian
Solved! Go to Solution.
