基于Revit二次开发的PCR实验室参数化建模研究
Research on Parametric Modeling of PCR Laboratory Based on Revit Secondary Development
郑跃群 1王传林 2关嘉琪 2崔飞2
作者信息
- 1. 汕头大学工学院土木与环境工程系,广东 汕头 515063;广东科艺普实验室设备研制有限公司,广东 佛山 528100
- 2. 汕头大学工学院土木与环境工程系,广东 汕头 515063
- 折叠
摘要
Revit作为建筑信息模型(BIM)技术核心软件,能显著提高工程设计工作效率与质量,但由于Revit材质库与构件库内缺失能符合聚合酶链式反应实验(PCR)实验室建设要求的内容,导致PCR实验室建设项目与BIM技术结合较少.为解决此问题,可基于Revit API进行研究,通过插件成果在Revit软件材质库内实现PVC、彩钢板等特殊材质的添加,在构件库内丰富墙体与地板这两个经典构件的类型,并实现参数化建模.根据研究成果,得到以下结论:1)对Revit材质库与构件库进行扩充,一定程度上解决Revit在PCR实验室建模上缺乏针对性材质与构件类型等问题;2)在构件建模时,用户可通过UI界面上WPF窗口的参数交互自定义构件材质层厚度与材质颜色参数,并实现一键实例化生成;3)在墙体实例化效果中,克服了以往Revit API开发案例中只能基于坐标点连线放置的局限性,实现了在参数化建模的同时能够保持与Revit原有操作一致的便捷式参数化建模.
Abstract
As a cornerstone software of Building Information Modeling(BIM),Revit dramatically enhances the productivity and quality of engineering design.However,an infrequent combination of Polymerase Chain Reaction(PCR)laboratory projects and BIM technology emerges due to the lack of compatible content in Revit's material and component libraries.This issue is addressable through an investigation based on the Revit API.The software plugin can incorporate specific materials such as PVC and colored steel plates into the Revit material library,and diversify and parametrically model classic components like walls and floors in the component library.The conclusions from the plugin's implementation are:1)The Revit material and component libraries have been expanded.This resolves the deficiency of specific material types and component types for PCR laboratory modeling in Revit;2)Users can personalize the thickness and color of material layers via a WPF window's parameter interaction on the UI interface,and achieve instant generation with a single click;3)The plugin circumvents the restrictions of previous Revit API cases that only allowed placements based on point-to-point coordinates,enabling a streamlined parametric modeling process that aligns with traditional Revit operations.
关键词
BIM技术/Revit/API/二次开发/参数化建模/PCR实验室设计Key words
BIM technology/Revit API/secondary development/parametric modeling/PCR laboratory design引用本文复制引用
基金项目
广东省自然科学基金资助项目(2023A1515012727)
广东省普通高校青年创新人才资助项目(2021KQNCX021)
出版年
2024