仅提供中文版本
在安装过多插件时会导致Revit启动时报错:由于数量超过18个无法加载后续产品的错误,大部分许可文件会放置在C:\ProgramData\Autodesk\Revit\Addins\****下,通过修改后缀名即可将拒绝文件的启动。对于像某些产品会一次性防止十几个许可文件,设计工程师修改起来比较复杂所以写了一个工具进行集体修改。
全部项目已经上传到Github
github地址
Author: Broccoli
Copyright Notice: All articles on this blog are licensed under CC BY-NC-SA 4.0 unless otherwise stated.
Related Articles

2021-09-14
QT+ CLion + Revit 问题汇总
ui因为一直想实现QT+CLion+Revit的开发路径,所以从头开始学习QT与C++,在这里记录一下QT遇到的问题及后续的问题。如果开发周期不足估计会用一两周爆肝出来,随时会断更。 目前的思路是C++创建dll,在dll里面编写QT界面,之后用C++ Revit 的API接口实现整个步骤。中间需要用到sqlite3的数据库组件,目前就想到这么多。现在已经实现c++读取sqlite3并完成数据接口。 由于项目进度,之前为了实现cpp+QT耽误了太多时间,所以国庆肝了三天完成整个程序,能够将整个数据库的结构模型创建在revit中,在思路已经清晰的情况下,写起来速度确实快了很多,用完cpp再用c#发现c#的继承还挺好用的,测试一下整个项目之后再继续修复这个项目。下面是所有楼板的成果,21层的框架结构预估时间在十分钟以内可以完成,我是分块测试没有集中测试,明天去公司测试一下。 @[toc] 2021/09/14SQLite3带有中文路径的字符串转码12345678910111213141516171819202122232425262728293031323334...

2020-05-19
Use NSIS to Create Revit Plugin Installer
@[TOC](Table of Contents) Use NSIS to Create Revit Plugin InstallerDownloadNSIS DOWNLOADHM NSIS Addin File==We need to store the addin file separately==Just place it after the section reading the file Modify Script File Add automatic modification of addin file path 1234567891011 Section change StrCpy $1 "<Assembly>" StrCpy $1 "$1$INSTDIR" StrCpy $1 "$1\bin\De··bug\Panel.dll</Assembly>" Push <Assembly>name.dll</Assembly&g...
2021-01-19
WCF Use Console to Drive Revit
Currently doing family library project, already made WPF interface but because it was WPF project at start, intermediate interaction operations need to be implemented in Revit, thinking of driving Revit through WPF thereby implementing communication between two windows. One way is generic, implemented using external event, this path is relatively easyAnother way is when reading jimmy‘s blog found a case, using WCF as connection to drive two independent programs. Regarding creating WCF program...
2019-08-14
WPF TreeView Binding Revit Data
This article referencesAuthor: SmlAntSource: http://www.cnblogs.com/smlAntNote: Please retain the above content and indicate the author and source when reprinting.The article contains many useful knowledge points.When making functional requirements, the Treeview command is needed, and in the production process, it was found that the hierarchical structure of TreeView conforms to the hierarchical structure of Revit, which can make the data display more clearly. 12345678910111213141516171819202...
2019-08-08
WPF Revit Secondary Development Using Tree Structure to Display Revit Data
During function development, it is necessary to use attribute structures to make the Revit data structure itself clearer. When writing code, the MVVM pattern was adopted, and data collection and organization were completed in the backend. Recursive methods were used to classify the entire hierarchy.This article references: https://www.cnblogs.com/yeyunfei/p/5408931.html https://www.jianshu.com/p/908070cca109 https://www.cnblogs.com/larissa-0464/p/1022...

2020-04-17
Revit Secondary Development Import Component Info to Database
Data volume of components in revit is large. Database is needed when doing standardization or audit software. Importing data into database enables calculation to verify separated from software, which is also a kind of burden reduction for alternative software. demo Get component - Test project casually select several components to output data 1234567891011121314151617UIDocument uidoc = commandData.Application.ActiveUIDocument; Document doc = uidoc.Document; var refer = ui...
Announcement
欢迎访问!右上角可切换中英文。感谢您的阅读!

