我想在autcad启动时加载我的插件,这是PackageContents.xml
<?xml version="1.0" encoding="utf-8"?>
<ApplicationPackage SchemaVersion="1.0"
AutodeskProduct="AutoCAD" Name="AutoCADMyPlugin"
Description="AutoCADMyPlugin" Version="1.0.0" Version="1.0.0"
ProductType="Application" SupportedLocales="Enu" AppNameSpace="AutoCADMyPlugin" Author="Autodesk, Inc."
ProductCode="{B2D833E7-8E89-45FF-9281-B8CE38F3BF8C}" UpgradeCode="{34060BF2-49ED-46A2-BF6E-4C7B1772B397}"
OnlineDocumentation="www.autodesk.com">
<CompanyDetails Name="Autodesk, Inc." Url="www.autodesk.com" Email="info@autodesk.com" />
<RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R20.0" />
<Components>
<RuntimeRequirements OS="Win32|Win64" Platform="AutoCAD*" SeriesMin="R19.1" SeriesMax="R20.0" />
<ComponentEntry
AppName="AutoCADMyPlugin"
ModuleName=".\Contents\AutoCADMyPlugin.dll"
AppDescription="AutoCAD 2015 my Plugin"
LoadOnAutoCADStartup="True" >
</ComponentEntry>
当我使用NETLOAD命令时,Dll工作正常,我的功能区菜单出现了,但是在autocad sturtup上它不起作用...
请帮忙
答案 0 :(得分:2)
将软件包文件夹放入自动加载项%APPDATA%/ Autodesk / ApplicationPlugins目录中。 此外,this白皮书说明了整个过程。
答案 1 :(得分:2)
您使用的是错误符号,ModuleName应如下所示:
模块名=&#34; ./内容/ AutoCADMyPlugin.dll&#34;