‹
#
›
.NET
插件的建立
•
dll
•
引用
Autodesk.Navisworks.Api
•
新建类,继承自相应的插件类,例如
AddInPlugin
•
设置类的属性(
PluginAttribute
,
AddInPluginAttribute
):
名,开发者名
•
重载函数
Execute
•
建议编译的
dll
名为:
名
.
开发者名
•
在
<Navisworks
安装路径
>\plugins
建立文件夹,格式:和
dll
同名
•
编译后的
dll
放到该文件夹