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|PNID but It doesn't work.
Does anyone know what code 20 means ? Why not put a clear error message instead of these codes which are not documented ?
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.