2023, 15(6): 101-105. doi: 10.16670/j.cnki.cn11-5823/tu.2023.06.17
基于C#的预制构件库与参数化建模的二次开发
湖南科技大学土木工程学院,湘潭 411201 |
Secondary Development of Prefabricated Component Library with Parametric Modeling Based on C#
College of Civil Engineering, Hunan University of Science and Technology, Xiangtan 411201, China |
引用本文: 李影, 程火焰, 丁浩, 屈锋. 基于C#的预制构件库与参数化建模的二次开发[J]. 土木建筑工程信息技术, 2023, 15(6): 101-105. doi: 10.16670/j.cnki.cn11-5823/tu.2023.06.17
Citation: Ying Li, Huoyan Cheng, Hao Ding, Feng Qu. Secondary Development of Prefabricated Component Library with Parametric Modeling Based on C#[J]. Journal of Information Technologyin Civil Engineering and Architecture, 2023, 15(6): 101-105. doi: 10.16670/j.cnki.cn11-5823/tu.2023.06.17
摘要:随着建筑业向智能化、信息化的转型发展,BIM逐渐成为行业中的重要工具和方法。通过BIM技术进行三维设计,可作为发展装配式建筑信息化的一种方式,现阶段单一的Revit软件还无法满足装配式建筑的所有设计功能。但Revit作为BIM领域最常用的软件之一,拥有丰富的开发接口,可导出多种文件格式,可以通过二次开发实现一个模型运用到整个项目的效果。本文采用C#语言通过Visual Studio平台对Revit进行二次开发,创建装配式预制构件库及参数化建模插件,实现柱、梁、板、剪力墙、楼梯等预制构件的快速绘制和标准化建模。同时在模型建立的基础上,通过插件实现参数化建模,重复性工作被自动化技术所取代,提高了建模的效率。
Abstract: With the transformation of the construction industry to intelligence and informatization, BIM has become an important method in the industry. Three-dimensional design through BIM technology can be used as a way to develop the informatization of assembled buildings while a single Revit software is not able to meet all the design functions of assembled buildings at this stage. However, as one of the most commonly used software in the field of BIM, Revit has rich development interfaces to export a variety of file formats and realize the effect of a model implementing the whole project through secondary development. In this paper, C# language is adopted to carry out secondary development of Revit through VisualStudio platform to create assembly prefabricated components library and parametric modeling plug-in to accomplish rapid drawing and standardized modeling of prefabricated components, e.g. columns, beams, slabs, shear walls, stairs, etc. Moreover, parametric modeling is realized through plug-ins on the basis of model establishment, therefore repetitive work can be replaced by automation technology to improve the efficiency of modeling.
计量
- PDF下载量(27)
- 文章访问量(854)
- HTML全文浏览量(639)