Hello,
I do not know if it has happened to them that when trying to load automatically .dll assemblies on AutoCAD in Spanish or another language that is not English, it does not load.
All good with the English version, even using the command NETLOAD on AutoCAD in Spanish works well, the problem is with the automatic load.
Is there anything missing in the PackageContents.xml?
Solved! Go to Solution.
Solved by antonio.leonardo. Go to Solution.
This is the minimalist PackageContents I use to use (mainly with French AutoCAD versions):
<?xml version="1.0" encoding="utf-8"?> <ApplicationPackage SchemaVersion="1.0" AppVersion="1.0.0" ProductCode="{83F90232-3CEB-40F0-88BE-2638C843CEA5}" UpgradeCode="{B31D4C65-464B-4460-9E9F-B36D7B1C453A}" Name="Trapezoid" AutodeskProduct="AutoCAD" ProductType="Application"> <Components> <RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*" SeriesMin="R19.0" SeriesMax="R23.0" /> <ComponentEntry AppName="Trapezoid" Version="1.0.0" ModuleName="./Contents/Trapezoid.dll" LoadOnAutoCADStartup="True"> </ComponentEntry> </Components> </ApplicationPackage>
Hi, I have tried various ways to modify the PackageContents.xml and it still does not load automatically. The funny thing is that when you run AutoCAD in Spanish the AutoCAD security message appears, so this makes me suppose that the PackageContents is fine. So where could the problem be?
Hi @ccalvo12,
First of all, I strictly followed the article Autodesk Autoloader White Paper and my scenario has several AutoCAD Plant 3d (2018, 2019 and 2020) in Brazilian Portuguese; for your AutoCAD custom plugin I suggest you follow this XML format for PackageContents.xml:
<?xml version="1.0" encoding="utf-8"?> <ApplicationPackage SchemaVersion="1.0" AutodeskProduct="AutoCAD" Name="CorporationName Custom Commands" Description="CorporationName Custom Commands" AppVersion="12.2.1.0" FriendlyVersion="12.2.1.0" ProductType="Application" SupportedLocales="Enu" AppNameSpace="appstore.exchange.autodesk.com" Author="CorporationName" ProductCode="{206a6123-bd95-44d2-bcce-2c9667050c29}" UpgradeCode="{a945e5cc-bcf3-4534-8e27-86415b2cd7f7}" OnlineDocumentation="http://www.teewe.com.br/br/"> <CompanyDetails Name="CorporationName" Url="http://www.teewe.com.br/br/" Email="contato@corporation.com" /> <RuntimeRequirements OS="Win64" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R23.1" /> <Components Description="Windows parts"> <RuntimeRequirements OS="Win64" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R23.1" /> <ComponentEntry AppName="Corporation.AssemblyNamespace" Version="12.2.1.0" ModuleName="Corporation.AssemblyName.dll" AppDescription="CorporationName Custom Commands" LoadOnCommandInvocation="true"> <Commands GroupName="GROUP_NAME_COMMANDS"> <Command Local="COMMAND_1" Global="COMMAND_1" StartupCommand="false" /> <Command Local="COMMAND_STARTUP" Global="COMMAND_STARTUP" StartupCommand="true" /> <Command Local="COMMAND_2" Global="COMMAND_2" StartupCommand="false" /> <Command Local="COMMAND_A" Global="COMMAND_A" StartupCommand="false" /> <Command Local="COMMAND_B" Global="COMMAND_B" StartupCommand="false" /> </Commands> </ComponentEntry> </Components> <DisplayInAppManager>false</DisplayInAppManager> </ApplicationPackage>
And check if the DLLs and PackageContents.xml stay at C:\ProgramData\Autodesk\ApplictionPlugins\YourPluginName.Bundle
After, open your AutoCAD; when SecuriyDialog appear, click on "Cargar Siempre":
Att,
Antonio Leonardo
Can't find what you're looking for? Ask the community or share your knowledge.