安装包下找到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>
拷贝文件到如下位置C:\ProgramData\Autodesk\Revit\Addins\2018:
测试:
https://www.cnblogs.com/baby123/p/12667260.html
参考:
https://blog.csdn.net/shanmama2434/article/details/106910281