How to import cuix file to nanoCAD

How to import cuix file to nanoCAD.
1. Download the latest version of the cuix2cfg converter.
2. Unzip it to empty folder. Add your .cuix file to this folder.
3. Run the converter through the Windows prompt: cuix2cfg.exe MyCuix.cuix -l -c
4. After conversion you will get the following: 
MyCuix.cfg 
MyCuix_new.cuix
MyCuix_IconLib folder.
5. Move both files and folder to c:\Users\UserName\AppData\Roaming\Nanosoft\nanoCAD x.x\Config\
6. Edit nanoCAD.cfg. Add this text after existing Ribbon section:
[\ribbon\MyCuix_new]
CUIX=MyCuix_new.cuix
visible=f1

and this text to the end of the document:
#include "MyCuix.cfg"

7. Then add your icons. You can do it in the INTERFACE dialog in nanoCAD or manually in the MyCuix.cfg file, I'll explain both ways.

a) INTERFACE dialog.
Run nanoCAD, call the INTERFACE command. Find your MyCuix.cfg file in the drop-down list. Choose one of your commands, change its BitmapDLL property to the path to icon:


b) MyCuix.cfg file
Open this file, find a command which should have an icon:

[\ConfigMan\Commands\MyCommand]
Weight=i30
CmdType=i1
Intername=sMyCommand
DispName=scwxSL
TooltipText=sMy Command
BitmapDll=sMyCuixIconCollection.dll
Icon=s11cwxPSL
Keyword=s^C^C_cwxSL
IsUserCommand=f1

And edit two lines:
BitmapDll=sMyCuix_IconLib\11cwxPSL.dll
Icon=s

Save the file and run nanoCAD.

If you plan to share MyCuix.cfg with other users, choose the second option.

That's all, your menu, ribbon and icons will be added to nanoCAD.
Creation date: 11/29/2023 9:32 PM      Updated: 3/19/2024 10:45 PM
Files
DataImage98.png
195 KB