摘要
BIM技术带来了建筑行业的二次变革,Revit作为其中重要的应用软件在行业中得到广泛应用,但其标注功能与国内通用习惯有所差异,对设计工作带来诸多不便,因此开发一款符合行业标注习惯的插件便显得尤为迫切。通过对比几种常用创建引线及文字方法的优缺点,提出了一种基于标签族的引线标注二次开发方法:采用Revit UI新建标签族,通过Revit API载入进行编辑,以UI与API相结合的方式创建引线标注。该插件可提升标注效率,同时开发过程及思路可为行业内其他领域的二次开发提供借鉴。
BIM technology has brought about the second change in the construction industry. Revit is one of the most important applications,it has been widely used in the industry. However,its labeling function is different from the domestic common custom,which brings a lot of inconvenience to the design work. Therefore,it is particularly urgent to develop a plug-in that conforms to industry labeling habits. By comparing the advantages and disadvantages of several common methods of creating lead and text,this paper proposes a new method of secondary development of lead labeling based on label family: uses Revit UI to create a new tag family,edits it through Revit API,and creates a lead tag by combining UI with API. The plug-in can improve the labeling efficiency,and the development process and ideas can provide reference for the secondary development of other fields in the industry.
作者
范宇
力辉
杨杰仁
杨睿
Fan Yu;Li Hui;Yang Jieren;Yang Rui(Beijing Urban Construction Design & Development Group Co.,Chengdu Branch,Chengdu 610031,China;Chenyue Construction Project Management Group Co.,Ltd.,Chengdu 610031,China)
出处
《山西建筑》
2019年第15期195-196,共2页
Shanxi Architecture