安装包下找到D:\aaa\Revit_2018_G1_Win_64bit_dlm\Utilities\SDK\Software Development Kit中的RevitSDK.exe
也可以直接通过安装解压这个东西。
找到一个addin文件,编辑为以下内容:
<?xml version="1.0" encoding="utf-8"?> <RevitAddIns> <AddIn Type="Command"> <Assembly>AddInManager.dll</Assembly> <ClientId>8C0A9E25-B7C5-421c-A1AB-702F73FA551F</ClientId> <FullClassName>AddInManager.CAddInManager</FullClassName> <Text>Add-In Manager (Manual Mode)</Text> <VisibilityMode>AlwaysVisible</VisibilityMode> <LanguageType>Unknown</LanguageType> <VendorId>ADSK</VendorId> <VendorDescription>Autodesk, www.autodesk.com</VendorDescription> </AddIn> <AddIn Type="Command"> <Assembly>AddInManager.dll</Assembly> <ClientId>6FDB8EC7-CCD3-4fc0-ADB7-B459D298FB93</ClientId> <FullClassName>AddInManager.CAddInManagerFaceless</FullClassName> <Text>Add-In Manager (Manual Mode, Faceless)</Text> <VisibilityMode>AlwaysVisible</VisibilityMode> <LanguageType>Unknown</LanguageType> <VendorId>ADSK</VendorId> <VendorDescription>Autodesk, www.autodesk.com</VendorDescription> </AddIn> <AddIn Type="Command"> <Assembly>AddInManager.dll</Assembly> <ClientId>91A2419C-5FCA-491A-BAA3-29A497EC07C7</ClientId> <FullClassName>AddInManager.CAddInManagerReadOnly</FullClassName> <Text>Add-In Manager (ReadOnly Mode)</Text> <VisibilityMode>AlwaysVisible</VisibilityMode> <LanguageType>Unknown</LanguageType> <VendorId>ADSK</VendorId> <VendorDescription>Autodesk, www.autodesk.com</VendorDescription> </AddIn> </RevitAddIns>
拷贝文件到如下位置:
标签:www,外部,Unknown,dll,Revit2018,Add,二次开发,AddInManager,ADSK From: https://www.cnblogs.com/yhlx125/p/16657501.html