.NET
cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Autoloader error code=20

2 REPLIES 2
Reply
Message 1 of 3
FRFR1426
1161 Views, 2 Replies

Autoloader error code=20

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 ?

 

It's a pity for debugging...

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr
Tags (1)
2 REPLIES 2
Message 2 of 3

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?id=autodesk.appstore.exchange.autodesk.com%3aADNP... ) and compare the bundle format with yours.

 

Thanks

Virupaksha Aithal

Autodesk developer Network



Virupaksha Aithal KM
Developer Technical Services
Autodesk Developer Network

Message 3 of 3
FRFR1426
in reply to: FRFR1426

Ok, I've found why. It was the path to the .cuix file which was not correct. Smiley Frustrated

 

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.

Maxence DELANNOY
Manager
Add-ins development for Autodesk software products
http://wiip.fr

Can't find what you're looking for? Ask the community or share your knowledge.

Post to forums  

Autodesk DevCon in Munich May 28-29th


Autodesk Design & Make Report

”Boost