| In recent years, BIM Technology is in full swing in the domestic development, and the different types of construction projects can find their problem solving method on BIM platform. Construction Projects in the application of BIM Technology in China at present is mainly 3D modeling, steel structure design, program design, detailed design, collision detection, etc., but due to the status of our country as well as the construction industry, BIM redevelopment technology in our country didn’t have a lot of research, and earthwork calculation of excavation engineering is tedious and workload. To improve the efficiency of earthwork calculation, using the Microsoft Visual Studio development technology, based on the Autodesk Revit platform, this paper developed tofography, building pad, caps and foundation beam, and fast calculation model for excavation engineering, convenient excavation earthwork calculation.The main research contents are as follows:(1) Gives the development tools and solutions of Revit redevelopment technology of Revit API, as well as the implementation of BIM technology applied in foundation pit excavation.(2) Study Revit redevelopment process, Microsoft Visual Studio programming software and Revit interface technology and principle, then find the methods about how to create a form, use various controls flexibly, create windows about grids, tofography, building pad as well as family loading, achieve the establishment of the corresponding component, and create a dialog box to calculate earthwork.(3)Using Visual Studio Microsoft software package C# visual programming tools to create Caps family including creating the new reference plane, creating an extrusion, adding alignment, creating dimension, adding types etc..To create grids, level, tofography, building pad and foundation beam and caps family and several major aspects write relevant code, and generate dynamic link library files for Autodesk Revit external calls.(4) Using the developed program, combined with a practical engineering case, realize the establishment of the foundation pit excavation model, and calculate the corresponding earth volume at the same time. |