custom commands in cui file to Excel

custom commands in cui file to Excel

CADmgrMike
Collaborator Collaborator
639 Views
6 Replies
Message 1 of 7

custom commands in cui file to Excel

CADmgrMike
Collaborator
Collaborator

I have a custom cuix file we've used for years and I would like to capture it in Excel so we have a visual way to manage changes going forward.

Is there a way to get any of the custom commands into Excel besides copy/pasting the name and command.

Mike Porter
https://provostandpritchard.com/
0 Likes
640 Views
6 Replies
Replies (6)
Message 2 of 7

Sea-Haven
Mentor
Mentor

So you don't have the mnu version ? You can get at the cuix and look inside but its a bit of a mess to pull it a part. Make a copy of the cuix then rename to .zip, then you can look inside at all the xml files. Its still a bit of work to edit back to a mnu style text file.

 

So this dr_pav_bend in a image section of a mnu

SeaHaven_0-1689136815706.png

 

 

0 Likes
Message 3 of 7

paullimapa
Mentor
Mentor

I typically do screen captures and place into Word to explain the steps for customization. Is there a reason you prefer to do this in Excel?


Paul Li
IT Specialist
@The Office
Apps & Publications | Video Demos
0 Likes
Message 4 of 7

CADmgrMike
Collaborator
Collaborator

@paullimapa,

I like Excel for the row/column organization.

I will do screenshots of the actual custom menus.

I just wanted to capture the custom commands in a format where I can visualize inconsistencies in naming, etc.

And I can create new similar commands by copy/pasting the macro from Excel to the new command.

Saves from having to scroll through the list inside the cuix file and find a similar command.

This is for management/organization than anything useful for a typical CAD user.

Mike Porter
https://provostandpritchard.com/
0 Likes
Message 5 of 7

Sea-Haven
Mentor
Mentor

If you do as I suggested and go back to a Custom.mnu then you have access to it in Notepad or Word etc. 

 

***MENUGROUP=ALANSTOOLBAR
***TOOLBARS
**ALANSTOOLS
ID_ALAN_0    [_Toolbar("Alans1", _Right, _Show, 0, 0, 1)]
AECC_ShowTS  [_Button("Show Toolspace", RCDATA_16_IMAGE, RCDATA_16_IMAGE)]^C^C^C^P_ShowTS
ID_Matchprop [_Button("Match Properties", RCDATA_16_MATCH, RCDATA_16_MATCH)]^C^C_matchprop
ID_Erase     [_Button("Erase", RCDATA_16_ERASE, RCDATA_32_ERASE)]^C^C_erase
ID_Copy      [_Button("Copy", RCDATA_16_COPYOB, RCDATA_32_COPYOB)]$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),GRIP),_copy,^C^C_copy)
ID_Mirror    [_Button("Mirror", RCDATA_16_MIRROR, RCDATA_32_MIRROR)]$M=$(if,$(eq,$(substr,$(getvar,cmdnames),1,4),GRIP),_mirror,^C^C_mirror)
ID_Offset    [_Button("Offset", RCDATA_16_OFFSET, RCDATA_32_OFFSET)]^C^C_offset

You can see what is being used. The hard bit you can copy from the cui to a mnu file just takes a bit of time, like wise can copy from the cui the icons etc. There is no ribbon mnu unfortunately.

0 Likes
Message 6 of 7

CADmgrMike
Collaborator
Collaborator

I found an old thread about converting a cuix file to mnu that had a program to convert. Haven't tried it yet.

I can see where the mnu would be a way to see everything in a more logical way.

Mike Porter
https://provostandpritchard.com/
0 Likes
Message 7 of 7

Sea-Haven
Mentor
Mentor

CUI to MNU.vlx ? It converts CUI not CUIX. Make a copy of your cuix then rename it to a ZIP file and extract all the CUI, you can look inside then try the CUI to MNU.

0 Likes