I've trouble with the loading of my CUIX on AutoCAD Mechanical 2012. It works well with AutoCAD, but not with ACADM. It's only with the .cuix. I've got a .NET dll and it loads OK. But for the .cuix, if I try to reload with the APPAUTOLOADER command, I've got the cryptic error code 20. I've tried to remove the platform attribute on the RuntimeRequirements element, to set it to AutoCAD|AutoCAD*, to ACADE|ACADM|AutoCAD||Map|MEP|Plant3D|PNID, to ACADE|ACADM|AutoCAD|AutoCAD*|Map|MEP|Plant3D|PN
Does anyone know what code 20 means ? Why not put a clear error message instead of these codes which are not documented ?
It's a pity for debugging...
I think, you are missing “AppName” while defining ComponentEntry for “cuix” file.
<ComponentEntry AppName="ADNPlugin-BatchPublish" ModuleName="./Contents/Resources/BatchPublish.cuix
Also, I will suggest you to download any free apps like Batch-publish app from Autodesk exchange store. (http://apps.exchange.autodesk.com/ACD/Detail/Index
Autodesk developer Network
Ok, I've found why. It was the path to the .cuix file which was not correct.
One way to check it is to look at the output of the APPAUTOLOADER command. If the path is not expanded (eg starting with drive letter), it's because it's not found. A simple message like "file not found", I would have saved a lot of time.
Access a broad range of knowledge to help get the most out of your products and services.