作者
Xuan Sha,Chenyang Yin,Ziyang Yu,Danyi Xia,Miao Sun
摘要
Quantity extraction is a crucial aspect of BIM-based construction project management. However, the current industry practice typically involves separate modeling by design and cost estimation units, leading to imperfect conversions between design models and quantity models, making it difficult to achieve multi-use of a single model. In light of this, this paper explores a method for quantity extraction based on the Revit design software, which holds practical significance for integrating design and calculation, thereby facilitating optimal design. First, this paper compares Revit with the Revit-based Chenxi BIM software and other mainstream domestic BIM 3D quantity extraction software in terms of interaction methods, interaction characteristics, and software advantages and disadvantages. By utilizing the Revit API for secondary development, Visual Studio was chosen as the development environment, and C# as the programming language to read Revit data. A calculation plugin based on the Revit platform was designed, successfully extending and optimizing Revit's quantity extraction functions, enabling the automatic extraction of quantities from design models. The development of the plugin includes various aspects such as plugin framework definition, user interface design, data model processing, view display, tool functions, error handling, and log recording. It supports localized resource management, Revit command processing, and Excel export functionality. By comparing the quantity extraction results of a building model using this plugin with those calculated by the Chenxi BIM software, the error was found to be less than 1.5%, verifying the practicality and accuracy of the plugin.