广州建筑2024,Vol.52Issue(5) :90-94.

基于Revit二次开发实现快速铺砖的插件及应用

Plugin Development and Application for Rapid Tile Laying through Revit Secondary Development

陈乐 乔升访 陈航
广州建筑2024,Vol.52Issue(5) :90-94.

基于Revit二次开发实现快速铺砖的插件及应用

Plugin Development and Application for Rapid Tile Laying through Revit Secondary Development

陈乐 1乔升访 1陈航2
扫码查看

作者信息

  • 1. 广州市建筑科学研究院集团有限公司,广州 510440
  • 2. 广州建筑股份有限公司,广州 510030
  • 折叠

摘要

为解决人工手动绘制铺砖方案低下的问题,本文基于Revit2022软件,采用C#语言编码,编码过程中通过调用RevitAPI文档,融入扫描线算法,使用VistualStudio2022编译平台编译代码,进行软件打包安装,研发出自动布置铺砖生成功能插件.在Revit中实现了给出边界条件便自动给出自动铺砖解决方案,快速完成装饰深化模型中的铺砖.并开发了自动编码参数赋值功能,实现了每块瓷砖唯一的编码赋值;开发的数据导出功能打通了 Revit软件与Excel数据的连接,消除了 BIM模型数据孤岛,将明细工单信息流转至Excel.应用表明Revit二次开发的自动铺砖功能生成工字铺、井字铺、错缝铺铺砖方案,在10000 m2的地板上生成铺装方案最快1s内完成,速度快、效果更好.铺砖方案信息制成工单显著提升设计师工作效率的同时,也助力减少后期施工返工,指导采购节约材料,有效发挥出BIM模型的信息价值.研究成果可为BIM模型在深化设计比选方案、施工阶段落地应用上提供新思路.

Abstract

To solve the problem of low manual brick laying solution,based on Revit2022 software,this paper uses C# language coding,calls Revit API documents in the coding process,integrates the scan line algorithm,compiles the code using the visual studio2022 compilation platform,packs and installs the software,and develops the plug-in for automatic brick laying generation function.In Revit,the automatic brick laying solution is automatically given when the boundary conditions are given,and the brick laying is quickly completed in the decoration deepening model.The automatic code parameter assignment function is developed to realize the unique code assignment of each tile;The developed data export function connects Revit software with Excel data,eliminates BIM model data island,and transfers detailed work order information to excel.The application shows that the automatic tiling function of Revit secondary development can generate I-shaped paving,well-shaped paving and staggered joint paving,which can be completed within 1 s on a 10000m2 floor,with faster speed and better effect.The tiling solution information can be made into a work order,which not only significantly improves the designer's work efficiency,but also helps to reduce the late construction rework,guide the purchasing agent to save materials,and effectively use the information value of BIM model.The research results can provide new ideas for the application of BIM model in deepening the design comparison and selection solution in the construction phase.

关键词

Revit二次开发/扫描线算法/铺砖/数据导出

Key words

revit secondary development/scanning line algorithm/brick laying/data export

引用本文复制引用

基金项目

广州市建筑集团有限公司科技计划项目(2022-KJ003)

广州市建筑集团有限公司科技计划项目(2022-KJ011)

广州市建筑集团有限公司科技计划项目(2022-KJ030)

出版年

2024
广州建筑
广州市建筑科学研究院有限公司

广州建筑

影响因子:0.452
ISSN:1671-2439
参考文献量14
段落导航相关论文