Custom POP menus
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
I have custom menus which insert structural steel shapes into AutoCAD. There are 2 menus, one for normal blocks (POP102) and the other for dynamic blocks (POP112).
The process is:
- Setup 2 folders, one for each POP menu.
- Prepare an AutoCAD file for each structural section, and save in the same directory.
- Write menu files (MNU) as per code below (abbreviated version).
- Load each menu file with command CUILOAD, browse for MNU file and load.
- AutoCAD automatically process the MNU file (which is legacy I think) and turns it into a CUIX file. It's saved in the same directory.
- In Tools, Options, Files tab, Support File Search Path ... add the 2 directories for each POP menu.
This works except for the fact that AutoCAD files have the same filename in each POP menu.
So if I want to insert a dynamic version of a 530UB82 from POP112, it will actually insert the normal version from POP102.
Is there a way to resolve if the filenames are the same?
***MENUGROUP=STRUCTURAL_STEEL
***POP102
**CTOPopSTRUCTURAL_STEEL
[Structural Steel]
[->UB]
[530UB82]^C^C(BlockInsert "UniversalBeams_530UB82.0");scale;1;
[<-530UB92]^C^C(BlockInsert "UniversalBeams_530UB92.4");scale;1;
[--]
***MENUGROUP=STRUCTURAL_STEEL_DYNAMIC
***POP112
**CTOPopSTRUCTURAL_STEEL_DYNAMIC
[Structural Steel (Dynamic)]
[->UB]
[530UB82]^C^C(BlockInsert "UniversalBeams_530UB82.0");scale;1;
[<-530UB92]^C^C(BlockInsert "UniversalBeams_530UB92.4");scale;1;
[--]