A method for quickly creating a pile cap foundation based on Revit software

By searching the CAD drawing reading method, interactive selection of support information, analyzing boundaries and obtaining shape and dimensions in the Revit software, the problems of low efficiency and insufficient accuracy of support basic support model creation in the existing technology are solved, and more efficient and accurate support model creation is achieved.

CN114510769BActive Publication Date: 2025-06-17CHINA CONSTR THIRD ENG BUREAU GRP CO LTD +1
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202210214194.X
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-03-07
Publication Date
2025-06-17
Estimated Expiration
2042-03-07

AI Technical Summary

Technical Problem

In the prior art, the creation of the base model based on Revit software has problems such as low efficiency, inaccurate model, and difficulty in review, especially in the diverse structure, large number, and different elevations.

Method used

By searching the CAD drawing reading method, interactively select the text, edge lines, and area marking of the base marking, analyze the base boundary to form a closed area, obtain the base shape and size, and display the attributes in a table form for user verification and modification, and generate the base family type and example.

Benefits of technology

It improves file reading accuracy, enhances data extraction accuracy, simplifies the model establishment process, improves the accuracy and adaptability of the model, and significantly improves the creation efficiency.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN114510769B_ABST
    Figure CN114510769B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for quickly creating a pile cap foundation based on Revit software, specifically relating to the field of building construction, which includes the following steps: retrieving the CAD drawing reading method; interactively selecting the pile cap marking text, pile cap edge line, and pile cap area marking; analyzing the pile cap boundary to form a closed area; obtaining the shape and size of the pile cap; presenting the pile cap attributes in tabular form for the user to check and modify; generating the pile cap family type; generating the pile cap family instance. The operation of the present invention is simple. The user only needs to select the layer and marking information of the pile cap, and quickly check and preview the generation based on the visual interface. It is more accurate than manual modeling, can meet the creation of pile caps in different forms, greatly improves the model accuracy and adaptability, and significantly improves the creation efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of building information modeling, and particularly relates to a method for quickly creating a pile cap foundation based on Revit software. Background Art

[0002] With the popularization and in-depth application of BIM technology, BIM technology has gradually taken root in the field of engineering construction, and its value has become increasingly prominent. As the basis for carrying out BIM technology applications, how to quickly and accurately establish a BIM model is an important factor in the popularization of BIM applications.

[0003] There are problems such as low efficiency, inaccurate models, and difficult review in creating a structural pile cap foundation model based on native Revit functions. The creation of pile cap foundations often takes a lot of time due to diverse structural forms, large quantities, and different elevations, affecting the modeling efficiency. Summary of the Invention

[0004] The purpose of the present invention is to solve the drawbacks existing in the prior art, and to propose a method for quickly creating a pile cap foundation based on Revit software.

[0005] In order to achieve the above purpose, the present invention adopts the following technical solutions:

[0006] A method for quickly creating a pile cap foundation based on Revit software, comprising the following steps:

[0007] S1. Retrieve the CAD drawing reading method;

[0008] S2. Interactively select pile cap marking text, pile cap side lines, and pile cap area markings;

[0009] S3. Analyze the pile cap boundary to form a closed area;

[0010] S4. Obtain the shape and dimensions of the pile cap;

[0011] S5. Display the pile cap attributes in tabular form for the user to check and modify;

[0012] S6. Generate a pile cap family type;

[0013] S7. Generate a pile cap family instance.

[0014] Through the above design, the present invention retrieves the reading method of CAD drawings to accurately determine whether the CAD file is a linked file, improving the reading accuracy of the file. The design of interactively selecting the bearing platform marking text, bearing platform edge line, and bearing platform area marking is used to distinguish the CAD file layers, further improving the data extraction accuracy of the basic model. Obtaining the shape and size of the bearing platform based on the formed closed area and the interactively selected bearing platform layer and text is used to further read the data of the CAD drawing, providing basic data support for model establishment. Generating the bearing platform family type according to the built-in bearing platform group template is to establish the bearing platform model based on the basic data.

[0015] The present invention is further configured as follows: in the step S1, the CAD drawing reading methods include: two methods, namely linking and importing. Since Revit has a limit on the number of DWG file primitives decomposed during import (not exceeding 10,000), it is necessary to retrieve and determine that the CAD drawing reading method is linking before proceeding to the next step.

[0016] Through the above design, it is accurately determined whether the CAD file is a linked file, improving the reading accuracy of the file.

[0017] The present invention is further configured as follows: in the step S2, the interactively selected bearing platform information includes: bearing platform marking text, bearing platform edge line, and bearing platform area marking. The information of the bearing platform marking is used to distinguish different structural forms and bearing platform categories with different heights.

[0018] Through the above design, the CAD file layers are distinguished, further improving the data extraction accuracy of the basic model.

[0019] The present invention is further configured as follows: in the step S3, based on the bearing platform edge line obtained in step S2, the bearing platform boundary is analyzed to form a closed area. The analysis algorithm depends on the quality of the CAD drawing. If a closed area is not formed, it will automatically jump to the next area and give a prompt.

[0020] The present invention is further configured as follows: in the step S4, the shape and size of the bearing platform are obtained. The bearing platform shapes include rectangle, circle, and polygon, and the bearing platform sizes include length, width, height, and elevation.

[0021] Through the above design, the data of the CAD drawing is further read, providing basic data support for model establishment.

[0022] The present invention is further configured as follows: in the step S5, through a table control, the bearing platform attributes are presented in a table form for the user to check and modify. The information listed in the table form is various attribute information of the read bearing platform, including shape, number, and cross-sectional dimensions, supporting manual checking by the user. For incorrect or unread information, addition, deletion, and batch assignment are supported.

[0023] Through the above design, real-time data correction is performed during the data input process to improve the accuracy of the pile cap model established by the present invention.

[0024] The present invention is further configured such that in the step S6, creating pile cap foundation files of different types includes: creating family files of rectangular pile caps, circular pile caps, and polygonal pile caps, and the family parameters can be modified.

[0025] The present invention is further configured such that in the step S7, based on the pile cap coordinate positions and geometric parameters read in the foregoing steps, pile cap family instances are generated.

[0026] The beneficial effects of the present invention are as follows:

[0027] The present invention is easy to operate. The user only needs to select the layer and annotation information of the pile cap, and quickly check and preview the generation based on the visual interface. It is more accurate than manual modeling, can meet the creation of pile caps in different forms, greatly improves the model accuracy and adaptability, and significantly improves the creation efficiency. BRIEF DESCRIPTION OF THE DRAWINGS

[0028] Figure 1 is a schematic flow chart of the present invention;

[0029] Figure 2 is a schematic diagram of the input interface of the present invention;

[0030] Figure 3 is a schematic diagram of the generation interface of the present invention. DETAILED DESCRIPTION OF THE EMBODIMENTS

[0031] Next, the technical solutions in the embodiments of the present invention will be clearly and completely described in conjunction with the drawings in the embodiments of the present invention. Obviously, the described embodiments are only a part of the embodiments of the present invention, rather than all of the embodiments.

[0032] As Figures 1-3 shown, a method for quickly creating a pile cap foundation based on Revit software includes the following steps:

[0033] Retrieving the CAD drawing reading method: The CAD drawing reading method includes two methods: linking and importing. Since Revit has a limit on the number of DWG file primitives decomposed for imported files (not exceeding 10,000), it is necessary to retrieve and determine that the CAD drawing reading method is linking before proceeding to the next step.

[0034] The core code for determining whether it is a linked file is as follows:

[0035]

[0036]

[0037] Interactively select cap annotation text, cap edge line, and cap area annotation:

[0038] ①Create an interactive interface through the FormFoundation method;

[0039] ② Clear layers: Clear all layer information in the dialog box at once (the layer information that was last extracted and remembered);

[0040] ③Interactively select text and curves through LinkedDwgHelper. The core code is as follows:

[0041] LinkedDwgHelper.SelectObject(uiapp,strTihsi,false,out strLayerName,out tempInst,out selref,out strBlockName,true);

[0042] The foundation data analysis class CFoundation is used to analyze the foundation boundary and form a closed area:

[0043] ①Set the abutment edge layer:

[0044] void SetCTLayer(CString strlayer);

[0045] void SetCTBoxLayer(CString strlayer);

[0046] ②Form a closed area. The core code is as follows:

[0047] void AnalySysColumn(int nFlag,AcDbEntity*tzEnt,CStringArray&columnLayerArray,bObjectIdArray&columnLineArr,AcGePoint3dArray&colCenterArr,

[0048] CStringArray&colTagLayerArray,

[0049] CStringArray&colTextLayerArray);

[0050] The shape and size of the abutment are obtained based on the closed area formed and the interactively selected abutment layers and texts. Common shapes include rectangle, circle and polygon.

[0051] The pile cap attribute information obtained in the foregoing steps is presented in tabular form through the FormFoundationCreate method for the user to check and modify. The core code is as follows:

[0052] m_grid.Selection.EnableMultiSelection = false;

[0053] m_grid.ColumnsCount = 7;

[0054] m_grid.FixedColumns = 1;

[0055] m_grid.FixedRows = 1;

[0056] m_grid.Rows.Insert(0);

[0057] m_grid[0,0] = new SourceGrid.Cells.ColumnHeader("");

[0058] m_grid[0,1] = new SourceGrid.Cells.ColumnHeader("Shape");

[0059] m_grid[0,2] = new SourceGrid.Cells.ColumnHeader("Section Width (A)");

[0060] m_grid[0,3] = new SourceGrid.Cells.ColumnHeader("Section Length (B)");

[0061] m_grid[0,4] = new SourceGrid.Cells.ColumnHeader("Height (H)");

[0062] m_grid[0,5] = new SourceGrid.Cells.ColumnHeader("Number");

[0063] m_grid[0,6] = new SourceGrid.Cells.ColumnHeader("Family Type");

[0064] For the generated table, the user can customize the floor elevation, pile cap height, and family category. The functions are as follows:

[0065] ① Set the floor elevation for the pile cap. The elevations available for selection in the drop-down menu are based on the current template file, and the floor elevations need to be drawn in advance;

[0066] ②For those without specified elevation at the top of the bearing platform, unified assignment can be selected as needed or the same elevation as the top of the foundation slab can be chosen.

[0067] ③Batch-assign the height of bearing platforms with unspecified or zero values and set the concrete strength grade of the bearing platforms.

[0068] ④Define the family types and naming rules for rectangular and circular cross-sections. Clicking the "Batch Specify Family" button will pop up the "Specify Family and Type Naming Rules" dialog box.

[0069] Generate bearing platform family types based on the built-in bearing platform group template. The steps include:

[0070] ①Customize and specify the used bearing platform family types.

[0071] ②Generate bearing platform family types based on the structural foundation family template according to parameter matching.

[0072] ②Pop up the "OK" button, return to the "Create Bearing Platform Model" dialog box, and click the "OK" button again, which will pop up the "Progress Prompt" dialog box until the generation of the bearing platform family type is completed.

[0073] Generate bearing platform family instances through the CreateFamilyInstance(dynamic modelpara) method. The core code is as follows:

[0074]

[0075] Working principle: The present invention retrieves by reading the CAD drawings to accurately determine whether the CAD file is a connection file, improving the reading accuracy of the file. The design of interactively selecting bearing platform marking text, bearing platform edges, and bearing platform area markings is used to distinguish the CAD file layers, further improving the data extraction accuracy of the foundation model. Obtaining the bearing platform shape and dimensions based on the formed closed area and the interactively selected bearing platform layers and text is used to further read the data of the CAD graphics, providing basic data support for establishing the model. Generating bearing platform family types based on the built-in bearing platform group template is to establish the bearing platform model according to the basic data.

[0076] The above is only a preferred specific implementation manner of the present invention, but the protection scope of the present invention is not limited thereto. Any person skilled in the art within the technical scope disclosed by the present invention, according to the technical solution and inventive concept of the present invention, makes equivalent replacements or changes, and should be covered by the protection scope of the present invention.

Claims

1. A method for quickly creating a pile cap foundation based on Revit software, characterized in that, It includes the following steps: S1. Retrieve the CAD drawing reading method; S2. Interactively select the bearing platform marking text, bearing platform edge line, and bearing platform area marking; S3. Analyze the bearing platform boundary to form a closed area; S4. Obtain the shape and dimensions of the bearing platform; S5. Display the bearing platform attributes in tabular form for the user to check and modify; S6. Generate the bearing platform family type; S7. Generate the bearing platform family instance.

2. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S1, the CAD drawing reading methods include: two methods of linking and importing. Since Revit has a limit on the number of DWG file primitive decompositions imported, it is necessary to retrieve and judge that the CAD drawing reading method is linking before proceeding to the next step.

3. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S2, the bearing platform information selected interactively includes: the bearing platform marking text, the bearing platform edge line, and the bearing platform area marking. The information marked on the bearing platform is used to distinguish different structural forms and bearing platform categories with different heights.

4. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S3, based on the bearing platform edge line obtained in the step S2, analyze the bearing platform boundary to form a closed area. The analysis algorithm depends on the quality of the CAD drawing. If a closed area is not formed, it will automatically jump to the next area and give a prompt.

5. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S4, obtain the shape and dimensions of the bearing platform. The bearing platform shape includes circular and polygonal, and the bearing platform dimensions include length, width, height, and elevation.

6. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S5, through a table control, display the bearing platform attributes in tabular form for the user to check and modify. The information listed in the table form is various attribute information of the read bearing platform, including shape, number, cross-sectional dimensions, etc. It supports manual checking by the user, and supports adding, deleting for the wrongly read or unread ones, and also supports batch assignment.

7. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S6, creating different types of bearing platform foundation files includes: creating circular bearing platform and polygonal bearing platform family files, and the family parameters can be modified.

8. The method for quickly creating a pile cap foundation based on Revit software according to claim 1, characterized in that, In the step S7, based on the bearing platform coordinate position and geometric parameters read in the previous steps, generate the bearing platform family instance.

Citation Information

Patent Citations

  • Revit platform based continuous-girder-bridge parametric modeling method

    CN107609321A

  • Construction method based on building information model for municipal engineering

    CN111724475A