Rectangular column rapid modeling method based on RevitAPI and flow section construction characteristics
Through the rapid modeling method of rectangular columns with the construction characteristics of the flow section, the problem of inefficient structural modeling in the existing technology is solved, convenient and efficient creation of shaft grids and structural columns is achieved, and the coordinated efficiency of design and construction is improved. and accuracy.
Patent Information
- Application Number
- CN202411230290.9
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-09-04
- Publication Date
- 2024-11-29
- Estimated Expiration
- 2044-09-04
AI Technical Summary
The existing structural modeling method based on Revit software has shortcomings in convenient one-click parameterization and rapid modeling, especially when dealing with complex building structures, it is inefficient and prone to errors, affecting the design progress and quality.
Using the rapid modeling method of rectangular columns for flow section construction characteristics based on RevitAPI, the RevitAPI interface file is formed through C# language to implement convenient creation of shaft grids and rectangular structure columns, introduce flow section recognition function, automatically calculate project volume, and support parameters and automate operations to improve modeling efficiency and accuracy.
It significantly improves the efficiency and quality of complex building structure design, simplifies the creation process of shaft grids and structural columns, improves the synergistic efficiency of design and construction, ensures data consistency and accuracy, and reduces human errors.
Smart Images

Figure CN119047050A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the technical field of BIM building structure modeling, and specifically relates to a rectangular column rapid modeling method based on Revit API and flow section construction characteristics. Background Art
[0002] In response to the national policy call for the digital transformation of the construction industry, as the structural design in the early key stage of the entire life cycle of a building, BIM technology is introduced and structural forward design is proposed, in order to achieve three-dimensional design and results display based on the structural BIM model. As the main carrier of structural forward design, the structural BIM model should meet the collaborative needs of structural professionals and other professionals such as architecture in the overall process of forward design, as well as the requirements for the sophistication and accuracy of structural design. The known native structural modeling method using Revit software can complete the establishment of a structural three-dimensional model, but it cannot meet the needs of structural forward design in terms of convenient one-click parametric rapid modeling.
[0003] There are differences in the research and development of BIM technology application tools at home and abroad, which is mainly manifested in the fact that foreign BIM technology application software is superior to domestic software in database processing and integrity, functional diversity and development depth. However, domestic BIM technology application software relies on open source development platforms and unique local experience, and has outstanding performance in software localization and practicality. Among them, Revit, as a BIM platform that integrates many advantages such as friendly 3D modeling interface, convenient loading of auxiliary application interface and complete development tools, has become a popular secondary development platform.
[0004] The existing native structural modeling method based on Revit software has many shortcomings. For example, the traditional method requires drawing the axis grid and structural columns one by one, which is cumbersome and error-prone, especially when dealing with complex building structures. In addition, the existing technology often has problems such as low efficiency and slow response when dealing with large-scale building models, which seriously affects the design progress and quality. There are differences in the research and development of BIM technology application tools at home and abroad. Domestic BIM technology application software is relatively weak in database processing and functional diversity, but it is outstanding in software localization and practicality. As a popular BIM platform, Revit has the advantages of a friendly three-dimensional modeling interface and convenient loading of auxiliary application interfaces, but it still needs further development to meet the efficient modeling needs of structural forward design. Summary of the invention
[0005] To solve the above problems, the present invention discloses a method for rapid modeling of rectangular columns based on Revit API and assembly line construction features. The convenient one-key parametric rapid modeling not only improves the efficiency and accuracy of modeling, but also introduces the recognition function of assembly line sections. Through this function, the user can identify different assembly line sections in the model, and can select any assembly line section. The system will automatically calculate and output the corresponding engineering quantity of the section. This improvement can significantly improve the efficiency and quality of complex building structure design, and meet the needs of the development of BIM technology application tools at home and abroad.
[0006] To achieve the above object, the technical solution of the present invention is as follows: A method for rapid modeling of rectangular columns based on Revit API and flow section construction features includes the following steps: S1: Write a program in C# language to form a Revit API interface file, create a tab page, a panel and add two buttons for clicking to create a grid and a rectangular structural column in Revit software; S2: The user clicks the button for creating the axis grid. The Revit API interface file responds to the button click action and pops up a WPF user control form. The user enters the axis grid span (z1) and depth (z2) parameters in the form, selects the axis grid type, and enters the axis grid number prefix (z3). S3: The user clicks the button for selecting the starting point on the plan to generate the axis grid. The Revit API interface file responds to the button click action, hides the current WPF user control form, and prompts the user to click to pick the starting point (x1, y1) in the current elevation plan view, and uses the picked point as the intersection of the first longitudinal axis and the transverse axis, identifies the user input parameters z1 (axis grid span), z2 (depth), z3 (number prefix), and generates the longitudinal axis and transverse axis. The formula description is as follows: - Longitudinal axis position: x = x1 + n*z1 (where n is the number of longitudinal axes) - Transverse axis position: y = y1 + m*z2 (where m is the number of transverse axes) The generated axis grid number is z3_ni_mj (where i and j are the axis numbers).
[0007] S4: The user clicks the button for creating a rectangular structural column. The RevitAPI interface file responds to the button click action and pops up a WPF user control form. The left side of the form displays the rectangular structural column family types in the current file. The user directly selects or adds a new type and then selects the appropriate rectangular structural column type. In order to better manage the parameters entered by the user, the system designs a storage class (ParameterStorage) to save the column type and related parameters selected by the user. The storage class includes the following properties: - `string ColumnType`: the type of the rectangular structure column - `double ColumnLength`: the length of the rectangular section - `double ColumnWidth`: width of the rectangular section - `string Material`: the material of the rectangular structural column Through this class, the system can display and manage the parameters entered by users in the user interface to ensure the consistency and accuracy of the data.
[0008] S5: The user clicks the button for selecting the axis grid and generating a rectangular structural column at the intersection. The RevitAPI interface file responds to the button click action, hides the current WPF user control form, and prompts the user to select the axis intersection where the structural column needs to be created. The axis grid selected by the user is highlighted with a blue shadow, and the user input parameters and the selected axis intersection of the current view are recognized. A rectangular structural column of corresponding material and cross-sectional size is created with the axis intersection as the center, and different structural column materials are distinguished by different colors, so as to realize the rapid creation of rectangular structural columns from the current elevation to the upper elevation.
[0009] S6: Through deep integration with Revit API, this system also supports interoperability with other BIM (Building Information Modeling) tools. Users can export the created axis grids and structural columns to other BIM software for further analysis and design, thus improving the collaborative efficiency of the entire project.
[0010] S7: The system provides a detailed log function to record every user operation and system response, which is convenient for users to troubleshoot and solve problems when they occur. At the same time, the log function can also be used for auditing and project management to ensure that all operations are traceable and improve the management level of the project.
[0011] S8: The plug-in can also read the flow construction progress file and extract the corresponding progress features, so that users can select any flow construction section and calculate the corresponding engineering quantity. By importing the construction progress file, the system will automatically parse the file content and generate a visual progress chart. Users can intuitively select the construction section through the chart. The system will automatically adjust the parameters of the rectangular column and other components according to the progress data of the selected section to match the selected flow section, and then calculate and display the corresponding engineering quantity, including information such as material requirements, workload and construction period.
[0012] Through the above steps, the present invention provides a method for rapid modeling of rectangular columns based on Revit API and flow section construction features. This method not only simplifies the creation process of axis grids and structural columns in traditional BIM models, but also improves the efficiency of design and construction through parameterization and automation.
[0013] As a preferred embodiment of the present invention, in step S2, the axis grid type is obtained by the following method: all axis grid types are obtained in the current project file by using the OfCategory method in the FilteredElementCollector class and the WhereElementType method.
[0014] BIM forward design emphasizes that construction and operation and maintenance requirements should be fully considered in the early stages of design. Therefore, the parametric modeling method of the present invention has reserved the interfaces and data points required for subsequent stages when creating the axis network. For example, in the process of selecting the axis network type, the system will automatically generate information related to construction nodes, equipment installation locations, etc., which makes the entire design process more coherent and efficient.
[0015] As a preferred embodiment of the present invention, the rectangular structural column type in step S4 is obtained by the following method: all rectangular structural column types in the current project file are automatically retrieved through the executeEventHandler.ExecuteAction class.
[0016] As a preferred embodiment of the present invention, the rectangular structural column type in step S4 has the following characteristics: the specific parameters of the rectangular structural column type obtained and displayed include: the length of the rectangular cross-section (a), the width of the rectangular cross-section (b) and the material of the rectangular structural column (c). When selecting the rectangular structural column type, the user can also view the detailed parameters and schematic diagrams of each type to make the best choice.
[0017] As a preferred embodiment of the present invention, the system in step S8 can not only process complex construction progress information, but also realize real-time data update and feedback, thereby improving the accuracy and controllability of the construction plan. The user can adjust the selection and parameter settings of the construction section at any time, and the system will recalculate and display the corresponding engineering quantity based on the latest data. This flexibility makes the entire construction management process more efficient and accurate.
[0018] In order to further improve the efficiency of design, the present invention also supports rapid comparison and optimization of different design schemes. Users can define different sets of design parameters in the system, and the system will automatically generate the corresponding structural model and compare the material usage, construction difficulty and cost-effectiveness of each scheme to help designers make the best choice.
[0019] This parametric acquisition method not only improves design efficiency, but also ensures data consistency and accuracy. When users select different structural column types, they can quickly adjust relevant parameters according to project requirements, and the system will automatically update and apply these parameters, thereby reducing human input errors and duplication of work.
[0020] In addition, the present invention interacts with the user through the WPF user control form, making parameter input and selection more intuitive and convenient. The user can input and select the required parameters in the form, and the system will automatically identify and generate the corresponding structural elements. This humanized design further improves the user experience and operating efficiency.
[0021] The aforementioned main scheme of the present invention and its further options can be freely combined to form multiple schemes, all of which are schemes that can be adopted and claimed for protection by the present invention. After understanding the scheme of the present invention, those skilled in the art can understand various combinations based on the prior art and common knowledge, all of which are technical schemes to be protected by the present invention, and are not exhaustively listed here.
[0022] The beneficial effects of the present invention are: In Revit software, the building model axis grid information is connected to realize parametric one-click axis grid creation, avoiding the repetitive work of drawing the axis grid of the traditional structural BIM model in sequence according to the axis lines; in Revit software, parametric one-click rectangular structural column batch creation is realized, avoiding the repetitive work of setting parameters and drawing the structural columns of the traditional structural BIM model in sequence according to individual components.
[0023] By automatically retrieving and displaying the types and parameters of the grid and rectangular structural columns, users can more easily select and manage different structural elements. Rectangular structural columns of different materials and cross-sectional sizes are distinguished by color, making it easy to identify the characteristics and positions of each element in a complex structural model.
[0024] The Revit API-based rectangular column modeling method for forward design of frame structures of the present invention makes parametric modeling operations more convenient and efficient in the process of BIM structural forward design, makes BIM structural forward design more simulation, parametric and information-based, achieves rapid and accurate expression of structural design results, improves the efficiency of creating the overall structural model, and further improves the efficiency of collaborative design, which has obvious promotion and application value.
[0025] In addition, the technical solution of the present invention also supports seamless integration with other design and management software. Model data can be directly imported into the construction management system and facility management system to form a comprehensive information platform that runs through the entire life cycle of design, construction, and operation. This integrated workflow not only improves the collaborative efficiency of each stage, but also provides strong support for the full life cycle management of buildings.
[0026] The technical solution of the present invention is not only applicable to the structural design of new projects, but also can be applied to the renovation and expansion of existing buildings. Through parametric modeling and automated operation, it can quickly respond to design changes and adjustments to meet the needs of different projects.
[0027] By adopting the technical solution of the present invention, it is possible to significantly reduce repetitive work in the design process, reduce human errors, and improve the consistency and accuracy of the design, thereby providing strong support for BIM forward design and promoting the informatization and intelligent development of the construction industry.
[0028] In summary, the rectangular column modeling method for forward design of frame structure based on Revit API of the present invention realizes the rapid creation and management of axis grids and structural columns in BIM model through efficient automated operation and humanized user interface design, which greatly improves the efficiency of design and construction and has broad application prospects and promotion value.
[0029] The present invention is not only innovative in technology, but also shows significant benefits in practical application. By improving the efficiency of design and construction, reducing costs and shortening construction period, the present invention has important application value and market prospects in the construction industry. BRIEF DESCRIPTION OF THE DRAWINGS
[0030] Figure 1 It is a flow chart of a rectangular column modeling method for forward design of a frame structure based on Revit API of the present invention; Figure 2 This is a schematic diagram of the axis network parameter setting interface in the method of the present invention; Figure 3 Creating a grid diagram in the method of the present invention; Figure 4 It is a schematic diagram of the rectangular structural column parameter setting interface in the method of the present invention; Figure 5A schematic diagram of creating a rectangular structural column in the method of the present invention. DETAILED DESCRIPTION
[0031] The present invention will be further explained below in conjunction with the accompanying drawings and specific embodiments. It should be understood that the following specific embodiments are only used to illustrate the present invention and are not used to limit the scope of the present invention.
[0032] Reference Figure 1-Figure 5 The method for rapid modeling of rectangular columns based on Revit API and flow section construction features described in this embodiment includes the following steps: A Revit API interface file is formed by writing a program in C# language, which is loaded and run. In the Revit software, a tab page, a panel and two buttons for clicking to create an axis grid and a rectangular structural column are sequentially created.
[0033] The user clicks the button for creating the axis grid. The RevitAPI interface file responds to the button click action and pops up a WPF user control form. The user enters the axis grid span and depth parameters in the form. The OfCategory method in the FilteredElementCollector class uses the WhereElementType method to obtain all axis grid types in the current project file. The user selects the axis grid type and enters the axis grid number prefix.
[0034] The user clicks the button for selecting the starting point on the plan to generate the axis grid. The RevitAPI interface file responds to the button click action, hides the current WPF user control form, and prompts the user to click to pick the starting point in the current elevation plan view, and uses the picked point as the intersection of the first longitudinal and transverse axes. It recognizes the user input parameters, generates the longitudinal and transverse axes in turn, and realizes the rapid creation of the axis grid and prompts the completion of the axis grid creation.
[0035] The system enhances the intuitiveness and accuracy of user operations by highlighting the points and lines selected by the user. This interactive method simplifies the selection process of the axis grid type and ensures that users can quickly find the required axis grid type.
[0036] The user clicks the button for creating a rectangular structural column. The RevitAPI interface file responds to the button click action and pops up a WPF user control form. All rectangular structural column types in the current project file are automatically retrieved through the executeEventHandler.ExecuteAction class. The rectangular structural column family types in the current file are displayed on the left side of the form. The specific parameters of the rectangular structural column types obtained and displayed include: the length of the rectangular section, the width of the rectangular section and the material of the rectangular structural column. The user directly selects or adds a new type and then selects the appropriate rectangular structural column type.
[0037] This design allows users to more intuitively compare and select different structural column types, further optimizing the user experience.
[0038] The user clicks the button to select the axis grid and generate a rectangular structural column at the intersection. The RevitAPI interface file responds to the button click action, hides the current WPF user control form, and prompts the user to select the axis intersection where the structural column needs to be created. The axis grid selected by the user is highlighted with a blue shadow, and the user input parameters and the selected axis intersection of the current view are recognized. A rectangular structural column of corresponding material and cross-sectional size is created with the axis intersection as the center, and different structural column materials are distinguished by different colors, so that rectangular structural columns from the current elevation to the upper elevation can be quickly created.
[0039] The system will also automatically check and avoid conflicts between columns to ensure the rationality and safety of the structural design.
[0040] In addition, users can further optimize the creation of axis grids and structural columns through parametric design. Parametric design allows users to define a set of rules and conditions to automatically generate axis grids and structural columns according to the specific needs of the project, reducing the time of manual operations and improving the consistency and accuracy of the design.
[0041] Through deep integration with Revit API, this system also supports interoperability with other BIM (Building Information Modeling) tools. Users can export the created axis grids and structural columns to other BIM software for further analysis and design, thus improving the collaborative efficiency of the entire project.
[0042] The system provides a detailed log function to record every user operation and system response, which is convenient for users to troubleshoot and solve problems when they occur. At the same time, the log function can also be used for auditing and project management to ensure that all operations are documented and improve the management level of the project.
[0043] The system helps users improve efficiency and accuracy in the construction process through automated tools. It can read and parse the flow construction progress file and extract key progress feature data. Users can select any construction section through the plug-in and obtain the corresponding engineering quantity calculation results, which greatly simplifies the construction management process.
[0044] Users only need to import the file containing construction progress information into the system, and the system will automatically parse the content of the file. It can identify and extract key data in the file, such as time nodes, task lists, resource allocation, etc. This process does not require manual intervention by the user, greatly saving time and energy, while reducing the errors that may be caused by manual data entry. After the analysis is completed, the system will automatically generate an intuitive progress chart to show the overall progress of the construction project, helping users to understand the current status of the project and the schedule of each task at a glance.
[0045] On the generated visual progress chart, users can easily click or drag to select a specific construction section. When the user selects a specific construction section, the system will automatically adjust the relevant parameters according to the specific progress data of the section, including adjusting the size, quantity, and material of the rectangular columns and other components to ensure that they match the actual situation of the selected construction section. After the adjustment is completed, the system will instantly calculate and display the engineering quantity of the construction section. The calculation results include the required material quantity, the workload of each work, and the estimated construction period.
[0046] It should be noted that the above content only illustrates the technical idea of the present invention and cannot be used to limit the protection scope of the present invention. For ordinary technicians in this technical field, several improvements and modifications can be made without departing from the principle of the present invention. These improvements and modifications all fall within the protection scope of the claims of the present invention.
Claims
1. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features, characterized in that: The rapid modeling method comprises the following steps: S1: Write a program in C# language to form a Revit API interface file, create a tab page, a panel and add two buttons for clicking to create a grid and a rectangular structural column in Revit software; in this way, users can easily access and use these functions, which improves design efficiency and operation convenience; S2: The user clicks the button for creating a grid, and the Revit API interface file responds to the button click action, popping up a WPF user control form, in which the user enters the grid span z1 and depth z2 parameters, selects the grid type, and enters the grid number prefix z3; this interactive method simplifies the grid type selection process and ensures that the user can quickly find the required grid type; S3: The user clicks the button for selecting the starting point on the plan to generate the axis grid. The Revit API interface file responds to the button click action, hides the current WPF user control form, and prompts the user to click to pick the starting point (x1, y1) in the current elevation plan view, and uses the picked point as the intersection of the first longitudinal axis and the transverse axis, recognizes the user input parameters of the axis grid span z1, depth z2, number prefix z3, and generates the longitudinal axis and transverse axis; the formula description is as follows: - Longitudinal axis position: x = x1 + n*z1; where n is the number of longitudinal axes - Transverse axis position: y = y1 + m*z2; where m is the number of transverse axes The generated axis grid number is z3_ni_mj, where i and j are axis numbers. The system highlights the points and lines selected by the user, which enhances the intuitiveness and accuracy of user operations. S4: The user clicks the button for creating a rectangular structural column. The Revit API interface file responds to the button click action and pops up a WPF user control form. The left side of the form displays the rectangular structural column family types in the current file. The user directly selects or adds a new type and then selects the appropriate rectangular structural column type. This design allows users to more intuitively compare and select different structural column types, further optimizing the user experience. S5: The user clicks the button for selecting the axis grid and generating a rectangular structural column at the intersection. The Revit API interface file responds to the button click action, hides the current WPF user control form, and prompts the user to select the axis intersection where the structural column needs to be created. The axis grid selected by the user is highlighted with a blue shadow, and the user input parameters and the selected axis intersection of the current view are identified. A rectangular structural column of corresponding material and cross-sectional size is created with the axis intersection as the center, and different structural column materials are distinguished by different colors, so as to realize the rapid creation of rectangular structural columns from the current elevation to the upper elevation. In addition, the system will automatically check and avoid conflicts between columns to ensure the rationality and safety of the structural design; S6: Through deep integration with Revit API, this system also supports interoperability with other BIM tools; users can export the created axis grids and structural columns to other BIM software for further analysis and design, which improves the collaborative efficiency of the entire project; S7: The system provides a detailed log function to record every user operation and system response, which is convenient for users to troubleshoot and solve problems when they occur. The log function is also used for auditing and project management to ensure that all operations are traceable and improve the management level of the project. S8: The plug-in is also used to read the flow construction progress file and extract the corresponding progress features. The user selects any flow construction section and calculates the corresponding engineering quantity. By importing the construction progress file, the system will automatically parse the file content and generate a visual progress chart. The user intuitively selects the construction section through the chart, and the system will automatically adjust the parameters of the rectangular column and other components according to the progress data of the selected section to match the selected flow section, and then calculate and display the corresponding engineering quantity, including material requirements, workload and construction period information.
2. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features as claimed in claim 1, characterized in that: In step S2, the grid type is obtained by the following method: all grid types are obtained in the current project file by using the OfCategory method in the FilteredElementCollector class and the WhereElementType method.
3. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features as claimed in claim 1, characterized in that: In step S4, the rectangular structural column type is obtained by the following method: all rectangular structural column types in the current project file are automatically retrieved through the executeEventHandler.ExecuteAction class.
4. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features as claimed in claim 1, characterized in that: The rectangular structural column type in step S4 has the following characteristics: the specific parameters of the rectangular structural column type obtained and displayed include: the length of the rectangular cross-section, the width of the rectangular cross-section and the material of the rectangular structural column; when the user selects the rectangular structural column type, the user can also view the detailed parameters and schematic diagrams of each type to make the best choice.
5. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features as claimed in claim 1, characterized in that: In step S5, the user generates a rectangular structural column by selecting the intersection of the axis grid. The system automatically generates the corresponding rectangular structural column according to the parameters input by the user, and highlights the selected points and lines to enhance the intuitiveness of the operation.
6. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features as claimed in claim 1, characterized in that: In step S6, the system supports interoperability with other BIM tools through deep integration with Revit API.
7. A method for rapid modeling of rectangular columns based on Revit API and flow section construction features as claimed in claim 1, characterized in that: In step S8, the plug-in can read the flow construction progress file and extract relevant features. The user selects any flow construction section, and the system will automatically adjust the component parameters according to the selected construction section and calculate the corresponding engineering quantity.
Citation Information
Patent Citations
Axis network creation method and device, server and computer readable storage medium
CN111859495A
Intelligent axis creating method based on Revit
CN112131651A
Rapid pile foundation creating and developing method based on BIM (Building Information Modeling)
CN115422643A
CAD (computer-aided design)-based building axis net coordinate rapid marking method
CN117708911A
Method for an auto-linkage between building information data based on an open BIM and structural analysis data
KR101704673B1
Cited By
Modeling analysis method and device for hybrid module building, equipment and medium
CN120197286A
Modeling and Analysis Method, Device, Equipment and Medium for Hybrid Modular Buildings
CN120197286B
