mohammadreza Posted December 2 Posted December 2 hello every body , I created a CUIX file in AutoCAD and set images for the panel icons, but their images don’t load and a question mark appears. The image format is PNG even i chaned that images to .bmp format but result is same ! whats the solution? (that problem doesn't occurs in all version.) Quote
BIGAL Posted December 2 Posted December 2 Do you have the paths set up correct for where your images are saved, check Support, Trusted and Icon paths in Options, Files. Quote
mohammadreza Posted December 4 Author Posted December 4 On 12/3/2025 at 2:57 AM, BIGAL said: Do you have the paths set up correct for where your images are saved, check Support, Trusted and Icon paths in Options, Files. yes, they are true . In other versions of AutoCAD, everything works properly, but I need to share my CUI and I cannot require everyone to use a single AutoCAD version. Quote
tombu Posted 1 hour ago Posted 1 hour ago If you're going to share it having all the PNG files converted to transparent then add them to a custom DLL file. I'd recommend copying Acad.dll to the same name as your custom CUI file with the DLL extension instead as that's where the CUI file will look first for the icon. That way you can add all your PNG files into it for you new commands and still reference AutoCAD commands in your custom CUI file as well. Much easier to share a single DLL file than a folder full of PNG files. Changes to Using Resource DLLs with CUIx Files https://help.autodesk.com/view/OARX/2025/ENU/?guid=GUID-7103E61A-8317-4834-BB00-0FE23AEB020F If you're going to share any customization files it's best to make sure all those files are in both the proper Support and Trusted paths. That way all users can access them, and you never have to include paths to them in any of your customization files. That way if you had it installed both in your office and at home where your (Support and Trusted) file folders would have different paths everything would still work the same. Lots of free online tools for converting images to PNG files with transparent backgrounds like: https://www1.lunapic.com/editor/?action=transparent Quote
Recommended Posts
Join the conversation
You can post now and register later. If you have an account, sign in now to post with your account.
Note: Your post will require moderator approval before it will be visible.