摘要
为解决人工手动绘制铺砖方案低下的问题,本文基于Revit2022软件,采用C#语言编码,编码过程中通过调用RevitAPI文档,融入扫描线算法,使用VistualStudio2022编译平台编译代码,进行软件打包安装,研发出自动布置铺砖生成功能插件。在Revit中实现了给出边界条件便自动给出自动铺砖解决方案,快速完成装饰深化模型中的铺砖。并开发了自动编码参数赋值功能,实现了每块瓷砖唯一的编码赋值;开发的数据导出功能打通了Revit软件与Excel数据的连接,消除了BIM模型数据孤岛,将明细工单信息流转至Excel。应用表明Revit二次开发的自动铺砖功能生成工字铺、井字铺、错缝铺铺砖方案,在10000m2的地板上生成铺装方案最快1s内完成,速度快、效果更好。铺砖方案信息制成工单显著提升设计师工作效率的同时,也助力减少后期施工返工,指导采购节约材料,有效发挥出BIM模型的信息价值。研究成果可为BIM模型在深化设计比选方案、施工阶段落地应用上提供新思路。
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 deepeningthe design comparison and selection solutionin the construction phase.
作者
陈乐
乔升访
陈航
CHEN Le;QIAO Sheng-fang;CHEN Hang(Guangzhou Institute of Building Science Group Co.,Ltd,Guangzhou 510440;Guangzhou Construction Co.,Ltd.,Guangzhou,510030)
出处
《广州建筑》
2024年第5期90-94,共5页
GUANGZHOU ARCHITECTURE
基金
广州市建筑集团有限公司科技计划项目(2022-KJ003、2022-KJ011、2022-KJ030)。
关键词
Revit二次开发
扫描线算法
铺砖
数据导出
revit secondary development
scanning line algorithm
brick laying
data export