Method for rapid modeling and adjustment of outdoor pipelines based on Revit platform

Through secondary development on the Revit platform, and the use of C# programming to identify and adjust the pipe well block elements, efficient and accurate modeling and adjustment of outdoor pipelines in landscape architecture projects are achieved, the problem of insufficient adaptability of existing plug-ins is solved, and construction efficiency and accuracy are improved.

CN115828486BActive Publication Date: 2025-08-12CHINA CONSTR EIGHT ENG DIV CORP LTD
View PDF 2 Cites 0 Cited by

Patent Information

Application Number
CN202211603742.4
Authority / Receiving Office
CN · China
Patent Type
Patents(China)
Current Assignee / Owner
Filing Date
2022-12-13
Publication Date
2025-08-12
Estimated Expiration
2042-12-13

AI Technical Summary

Technical Problem

The existing Revit plug-in has low adaptability to outdoor pipeline projects in landscape architecture projects, resulting in design conflicts and construction rework, making it difficult to achieve efficient and accurate comprehensive pipeline adjustments.

Method used

Based on the Revit platform, the C# programming language is used for secondary development. By identifying the pipe well block elements in the CAD drawings, laying the pipe wells in batches with one click, and intelligently adjusting the pipeline slope and elevation in combination with terrain information, it provides pipeline generation, slope reduction, conversion and water drop functions to realize parameterized and visual pipeline modeling and adjustment.

Benefits of technology

It improves the accuracy and convenience of comprehensive adjustment of outdoor pipelines, reduces design conflicts, improves construction efficiency and work efficiency, and has a wide range of applications.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN115828486B_ABST
    Figure CN115828486B_ABST
Patent Text Reader

Abstract

The present invention discloses a method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform, including the steps of pipe well remodeling, pipeline generation, pipe fitting conversion, pipeline sloping, intelligent elevation adjustment, pipe well drop, pipe well height and the like. The plug-in used in the present invention is developed based on the Revit 2018 version and is suitable for modeling and optimizing and adjusting outdoor pipe network components. The plug-in integrates professionalism, humanization, automation, parameterization and visualization, remodels and completes pipeline adjustment according to the drawings, and enables the results to guide actual construction. The plug-in is simple and fast to operate, and users can set a variety of parameters independently. It has a wide range of applications, improves the accuracy and convenience of comprehensive adjustment of outdoor pipelines, and greatly improves work efficiency.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention belongs to the field of building construction, and in particular relates to a method for rapid modeling and adjustment of outdoor pipelines based on a Revit platform. Background Art

[0002] Traditionally, pipeline integration involves designing and summarizing pipelines from various disciplines within a 2D CAD plan. This often leads to design conflicts and pipeline collisions during construction, leading to design modifications or rework. Commercial Revit plug-ins are primarily designed for mechanical and electrical engineering in building construction and are less suitable for outdoor pipelines in landscape architecture. Summary of the Invention

[0003] In view of the above situation, the present invention provides a method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform, which can improve the accuracy and convenience of comprehensive adjustment of outdoor pipelines in the Revit environment and improve work efficiency.

[0004] To achieve the above object, the technical solution adopted by the present invention is:

[0005] A method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform includes the following steps:

[0006] The first step is to turn the mold of the tube well

[0007] Utilizing Revit secondary development technology, pipe wells can be arranged in batches with one click by identifying pipe well block elements in CAD drawings linked or imported into Revit.

[0008] Step 2: Pipeline Generation

[0009] After the pipe well model is completed, the generated pipeline material, pipeline system, pipeline slope, pipeline diameter and pipeline connection method are set by identifying the pipe well model unit, and the pipe wells are connected to generate pipelines;

[0010] Step 3: Pipe fitting conversion

[0011] Use Revit's built-in pipeline drawing function to draw pipelines first, identify the pipe model units in the model, and convert the pipe fittings into new pipe wells with one click;

[0012] Step 4: Pipeline Slope

[0013] Grading is performed according to the slope set in the pipeline annotation attributes or the default slope;

[0014] Step 5: Intelligent elevation adjustment

[0015] By identifying the spatial information of terrain and pipelines in Revit, the pipeline slope and elevation can be intelligently adjusted;

[0016] Step 6: Tube Well Waterfall

[0017] Through Revit secondary development, the elevation parameter information of pipelines and pipe wells can be intelligently identified;

[0018] Step 7: Tube Well Height

[0019] In the 3D view, first select the pipe wells that need to be attached to the ground, then select the terrain surface in the Revit software, and intelligently attach the tops of the pipe wells to the ground in batches.

[0020] Furthermore, the pipe well generated in the first step is set as an editable parametric family. The key parameters are outer diameter, well height and offset. The outer diameter is used to adjust the diameter of the pipe well, the well height is used to adjust the height value of the pipe well, and the offset is used to adjust the elevation of the bottom of the pipe well.

[0021] Furthermore, the pipeline material in the second step is used to select the material of the pipeline to be generated, the pipeline system is used to select the system type of the pipeline to be generated, the pipeline slope and pipeline diameter are used to set the parameter values of the slope and diameter of the generated pipeline, and the pipeline connection method is used to determine the elevation change method of the connection.

[0022] Furthermore, there are two ways to set up the pipeline connection:

[0023] The first method is to connect the pipe wells directly without calculating the slope. In this method, a pipeline will be generated at the bottom of the pipe well, and the outer wall of the pipeline will be aligned with the elevation of the bottom of the pipe well.

[0024] The second method is to calculate the slope. Taking the elevation of the first pipe well as the benchmark, the elevation of the second pipe well is adjusted. Using this connection method will move the bottom height of the second pipe well.

[0025] Furthermore, in the third step, during the conversion, the keywords contained in the pipeline system name are set. If no pipe fittings are selected, the operation is performed on all pipe fittings in the model, and pipe wells are directly generated at the relevant pipe fittings; if the corresponding pipe fittings are selected, it only takes effect on the selected elements.

[0026] Furthermore, in the fourth step, it is necessary to select the pipe well twice, the first time to select the pipe well upstream of the pipeline, and the second time to select the pipe well downstream of the pipeline, and automatically complete the pipeline slope operation according to the set slope.

[0027] Furthermore, in the sixth step, by setting the elevation form, select the elevation form as absolute elevation or relative elevation, then enter the elevation value of the well bottom, and then select a point on the pipe well close to the drop outlet in the model. After clicking OK, the elevations of all wells behind the selected drop outlet in the model will be changed in batches.

[0028] The present invention adopts the above technical solution, which has the following beneficial effects:

[0029] This invention starts with the outdoor pipeline project of the landscape engineering project, and conducts secondary development based on the Revit software using the C# programming language, helping the project to quickly remodel the pipelines, pipe wells and other models of various professional systems, and automatically adjusts the elevation and slope of each pipeline efficiently and accurately in combination with the project terrain model, assisting the project to complete the final outdoor pipe deepening work, thereby improving the efficiency and accuracy of the project's pipe deepening. BRIEF DESCRIPTION OF THE DRAWINGS

[0030] In order to more clearly illustrate the technical solutions in the embodiments of the present invention, the following briefly introduces the drawings required for use in the description of the embodiments. Obviously, the drawings described below are only some embodiments of the present invention. For ordinary technicians in this field, other drawings can be obtained based on these drawings without creative work.

[0031] Figure 1 Provide a technical roadmap for secondary development of Revit. DETAILED DESCRIPTION

[0032] The following will clearly and completely describe the technical solutions in the embodiments of the present invention in conjunction with the accompanying drawings. Obviously, the described embodiments are only part of the embodiments of the present invention, not all of the embodiments. Based on the embodiments of the present invention, all other embodiments obtained by ordinary technicians in this field without making creative efforts are within the scope of protection of the present invention.

[0033] This paper is based on the Microsoft Visual Studio development environment and uses the C# programming language to conduct secondary development of Revit. By calling the Revit API function, a plug-in is designed that integrates professionalism, humanity, automation, parameterization, and visualization. The plug-in can be used to re-model and complete comprehensive pipeline adjustments based on drawings, and the results can guide actual construction. On this basis, a method for rapid modeling and adjustment of outdoor pipelines is invented.

[0034] Existing technologies are primarily targeted at mechanical and electrical engineering in building construction projects, and are not highly adaptable to outdoor pipeline engineering in landscape gardening projects. This patented invention uses the C# programming language to develop a comprehensive outdoor pipeline plug-in within the Revit environment. The plug-in is simple and fast to operate, allowing users to independently set multiple parameters. It has a wide range of applications, making it possible to improve the accuracy and convenience of comprehensive adjustments to outdoor pipelines within the Revit environment, thereby increasing work efficiency.

[0035] See Figure 1, which is the Revit secondary development technology roadmap of the plug-in of the present invention. The specific process is as follows:

[0036] Step 1: Create a new C# class library (.dll) project file in Microsoft Visual Studio 2022;

[0037] Step 2: Add references to the two assemblies RevitAPI.dll and RevitAPIUI.dll;

[0038] Step 3: Add TransactionModeManual transaction mode;

[0039] Step 4: Create a new class and derive the interface from LexternalCommand;

[0040] Step 5: Overload the Execute method and compile the code;

[0041] Step 6: Generate .dll file and call AddinManage;

[0042] Step 7: Determine whether the plug-in function is successfully completed. If so, end; otherwise, return to step 5.

[0043] The method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform of the present invention mainly includes the following steps:

[0044] The first step is to turn the mold of the tube well

[0045] The traditional modeling method of Revit pipe wells is to first set the size parameter information of the pipe wells, and then arrange them in the corresponding positions through the plane capture function. This modeling method requires measuring and setting the size of each pipe well, which is cumbersome and inefficient. The accuracy of the number and positioning accuracy of manual arrangement are also difficult to guarantee. Based on the fact that the pipe wells in the project CAD drawings are usually in the form of block elements, in order to improve the efficiency and accuracy of pipe well modeling, the present invention uses Revit secondary development technology. It can recognize the pipe well block elements in the CAD drawings linked or imported in Revit, and arrange pipe wells in batches with one click. Just select the type of pipe well that needs to be re-molded.

[0046] Compared to the conventional, unmodifiable pipe well family files in Revit, the pipe wells generated by this function are not only able to automatically identify the pipe well dimensions, but are also editable parametric families. The key parameters are "outer diameter," "well height," and "offset." "Outer diameter" is used to adjust the diameter of the pipe well, "well height" is used to adjust the height of the pipe well, and "offset" is used to adjust the elevation of the bottom of the pipe well. After the mold is completed, the pipe well parameters can be adjusted in conjunction with other functions of the plug-in, or they can be adjusted manually. Depending on the actual situation of the project, the corresponding pipe well family files can be replaced in the plug-in installation directory to achieve customized batch generation of pipe wells, greatly improving work efficiency.

[0047] Step 2: Pipeline Generation

[0048] In the conventional workflow, pipelines in Revit software need to be modeled according to system type classification, and pipelines need to be drawn one by one during the drawing process. When there are many system types in the project, the workload of pipeline drawing will become very large, and pipelines in different areas and locations need to set parameter information such as pipeline material, pipeline slope, pipeline diameter, etc. separately, making modeling efficiency difficult to guarantee.

[0049] After the pipe well mold is completed, the present invention can identify the pipe well model unit, set the generated pipeline material, pipeline system, pipeline slope, pipeline diameter and pipeline connection method, connect the pipe wells, and thus quickly realize pipeline generation.

[0050] "Pipeline Material" can be used to select the material of the pipeline to be generated; "Pipeline System" can be used to select the system type of the pipeline to be generated; "Pipeline Slope" and "Pipeline Diameter" can be used to set the parameter values of the slope and diameter of the generated pipeline. The unit of pipeline slope is %, and the unit of pipeline diameter is mm; "Pipeline Connection Method" is used to determine the elevation change method of the connection. Two methods can be set: one is not to calculate the slope, and the pipe wells are directly connected. This method will generate a pipeline at the bottom of the pipe well, and the outer wall of the pipeline will be aligned with the elevation of the bottom of the pipe well. The second method is to calculate the slope and adjust the elevation of the second pipe well based on the elevation of the first pipe well. Using this connection method will move the bottom height of the second pipe well. At the same time, for ease of use, after selecting a pipeline and launching this command, you can directly read the values of pipeline material, pipeline type, and pipeline diameter, eliminating the problem of repeated settings and improving work efficiency.

[0051] Step 3: Pipe fitting conversion

[0052] In order to enhance the applicability and breadth of the present invention, considering that not all pipe wells in the CAD drawings are set as block elements, the pipeline drawing function provided by Revit can be used to draw the pipeline first, and the pipe model units in the model can be identified by the plug-in, and the pipe fittings can be converted into new pipe wells with one click.

[0053] When converting, you can specify keywords within the pipeline system name. For example, "rainwater" will convert only the rainwater system's pipes into stormwater wells. If no pipes are selected, executing this command will apply to all pipes in the model, creating stormwater wells directly at their locations. If a pipe is selected, executing this command will only affect the selected element.

[0054] Step 4: Pipeline Slope

[0055] For pipelines that don't have a slope set when connecting to a manhole, this function allows you to grade the pipeline. This function applies the slope set in the pipeline's "Annotation" attribute or the default slope. The default slope is 0.3%, and you can assign a value to the "Annotation" attribute to adjust the slope. To use this command, select the manhole twice: the first upstream manhole and the second downstream manhole. The pipeline will then be graded automatically according to the set slope.

[0056] Step 5: Intelligent elevation adjustment

[0057] When the project covers a large area with many ups and downs and slopes, and the traditional pipeline integrated design lacks an overall design and cannot fully express the corresponding pipeline conditions under the entire road, and the markings at the pipeline intersections are mostly "control elevations", that is, the "extreme" elevations specified vertically when the professional pipelines intersect with each other, the pipeline cover only has a cover height value and lacks a cross-sectional diagram. These problems greatly increase the workload and difficulty of the project's pipeline elevation adjustment and pipeline integrated optimization.

[0058] Based on this, the present invention, through secondary development, has added a "ground-level routing" feature to the plug-in. This intelligently adjusts pipeline slopes and elevations by recognizing the spatial information of the Revit terrain and pipelines. This command is used for non-gravity pipes, such as water supply, fire water, HVAC, gas, and power and weak current pipelines. These pipelines generally require a 700mm cover, which is reflected in the model as a 700mm distance from the Revit terrain surface.

[0059] When the terrain surface in a project experiences significant elevation changes and numerous locations, using this command to batch align can significantly improve work efficiency. Note that this command also works for power pipes, which can be drawn using structural frame beams instead. To use this command, first select the pipes to be attached to the ground, set the desired cover height, then select the terrain and execute the command.

[0060] Step 6: Tube Well Waterfall

[0061] Vertical drop shafts are a key component of vertical water delivery. Due to their excellent frost resistance and energy dissipation properties, they are widely used in cold regions and urban water supply networks. In drainage projects, drop shafts should be installed when the drop head in the pipeline exceeds 2.0m to ensure stable flow and safe operation.

[0062] The drop well is reflected in the model as a height difference between the bottom of the pipeline and the bottom of the well. Under normal circumstances, the elevation of the wells and pipelines behind the drop position needs to be adjusted one by one. Through Revit secondary development, the elevation parameter information of the pipeline and pipe well can be intelligently identified, the elevation form of the pipe well drop can be set, and the elevation form can be selected as absolute elevation or relative elevation. Then, the elevation value of the well bottom is entered. The unit of the elevation value is m. Then, a point close to the drop outlet position on the pipe well needs to be selected in the model. After clicking OK, the elevations of all wells behind the selected drop outlet in the model will be changed in batches, reducing the workload of setting up and adjusting the project drop wells.

[0063] Step 7: Tube Well Height

[0064] In general, the height of pipe wells can be adjusted by setting the "Well Height" parameter in the pipe well family. When there are many pipe wells in a project and the terrain elevation is complex and changeable, manually processing the pipe wells one by one requires a lot of time to measure the elevation and adjust the positioning, which is not conducive to the comprehensive pipeline work. The plug-in contains a programmatic adjustment function for pipe well height. Use this command in the 3D view. First, select the pipe wells to be attached to the ground, and then select the terrain surface in the Revit software. The pipe well tops can be intelligently attached to the ground in batches without secondary processing, efficiently and accurately solving the pipe well height setting problem.

[0065] The plug-in used in this invention was developed based on Revit 2018 and is suitable for modeling and optimizing outdoor pipe network components. This plug-in integrates professionalism, humanization, automation, parameterization, and visualization. It reshapes and completes pipeline adjustments based on drawings, enabling the results to guide actual construction. The plug-in is simple and fast to operate, allowing users to independently set multiple parameters. It has a wide range of applications, improves the accuracy and convenience of comprehensive adjustments to outdoor pipelines, and greatly enhances work efficiency. The plug-in mainly includes three modules: model creation, model adjustment, authorization, and help.

[0066] With the continuous development of BIM technology, more and more secondary development research based on Revit has emerged. Starting from the outdoor pipeline project of landscape engineering, this invention uses the C# programming language based on Revit software for secondary development, which helps the project to quickly remodel the pipelines, pipe wells and other models of various professional systems, and automatically adjusts the elevation and slope of each pipeline in combination with the project terrain model efficiently and accurately, assisting the project to complete the final outdoor pipe deepening work, thereby improving the efficiency and accuracy of the project's pipe deepening.

[0067] After actual testing, the plug-in used in the present invention runs stably and reliably, has good application prospects, and provides a reference for the application of Revit secondary development technology in landscape engineering, attracting more practitioners to study BIM applications in landscape engineering and promoting the sustainable development of BIM technology.

[0068] It should be noted that, in this document, relational terms such as first and second, etc., are used only to distinguish one entity or operation from another entity or operation, and do not necessarily require or imply any actual relationship or order between these entities or operations. Moreover, the terms "comprises," "comprising," or any other variations thereof are intended to cover non-exclusive inclusion, such that a process, method, article, or apparatus that includes a list of elements includes not only those elements but also other elements not explicitly listed, or elements inherent to such process, method, article, or apparatus.

[0069] While embodiments of the present invention have been shown and described, it will be appreciated by those skilled in the art that various changes, modifications, substitutions, and variations may be made to these embodiments without departing from the principles and spirit of the invention, and that the scope of the invention is defined by the appended claims and their equivalents.

Claims

1. A method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform, characterized in that: The following steps are involved: The first step is to turn the mold of the tube well Utilizing Revit secondary development technology, pipe wells can be arranged in batches with one click by identifying pipe well block elements in CAD drawings linked or imported into Revit. Step 2: Pipeline Generation After the pipe well model is completed, the generated pipeline material, pipeline system, pipeline slope, pipeline diameter and pipeline connection method are set by identifying the pipe well model unit, and the pipe wells are connected to generate pipelines; Step 3: Pipe fitting conversion Use Revit's built-in pipeline drawing function to draw pipelines first, identify the pipe model units in the model, and convert the pipe fittings into new pipe wells with one click; Step 4: Pipeline Slope Grading is performed according to the slope set in the pipeline annotation attributes or the default slope; Step 5: Intelligent elevation adjustment By identifying the spatial information of terrain and pipelines in Revit, the pipeline slope and elevation can be intelligently adjusted; Step 6: Tube Well Waterfall Through Revit secondary development, the elevation parameter information of pipelines and pipe wells can be intelligently identified; Step 7: Tube Well Height In the 3D view, first select the pipe wells that need to be attached to the ground, then select the terrain surface in Revit software, and intelligently attach the tops of the pipe wells to the ground in batches; Before executing the fifth step, the following steps are also included: through secondary development, a ground-laying function is added to the plug-in, first selecting the pipeline to be attached to the ground, setting the height value of the soil cover, and then selecting the terrain; In the sixth step, set the elevation form, select the elevation form as absolute elevation or relative elevation, then enter the elevation value of the well bottom, and then select a point on the pipe well close to the drop outlet in the model. After clicking OK, the elevations of all wells behind the selected drop outlet in the model will be changed in batches.

2. The method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform according to claim 1 is characterized in that: The pipe well generated in the first step is set as an editable parametric family. The key parameters are outer diameter, well height and offset. The outer diameter is used to adjust the diameter of the pipe well, the well height is used to adjust the height value of the pipe well, and the offset is used to adjust the elevation of the bottom of the pipe well.

3. The method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform according to claim 1 is characterized in that: The pipeline material in the second step is used to select the material of the pipeline to be generated, the pipeline system is used to select the system type of the pipeline to be generated, the pipeline slope and pipeline diameter are used to set the parameter values of the slope and diameter of the generated pipeline, and the pipeline connection method is used to determine the elevation change method of the connection.

4. The method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform according to claim 3 is characterized in that: There are two ways to set up the pipeline connection: The first method is to connect the pipe wells directly without calculating the slope. In this method, a pipeline will be generated at the bottom of the pipe well, and the outer wall of the pipeline will be aligned with the elevation of the bottom of the pipe well. The second method is to calculate the slope. Taking the elevation of the first pipe well as the benchmark, the elevation of the second pipe well is adjusted. Using this connection method will move the bottom height of the second pipe well.

5. The method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform according to claim 1 is characterized in that: In the third step, during conversion, set the keywords contained in the pipeline system name. If no pipe fittings are selected, the operation will be performed on all pipe fittings in the model, and pipe wells will be directly generated at the relevant pipe fittings. If the corresponding pipe fittings are selected, it will only take effect on the selected elements.

6. The method for rapid modeling and adjustment of outdoor pipelines based on the Revit platform according to claim 1 is characterized in that: In the fourth step, you need to select the pipe well twice. The first time, select the pipe well upstream of the pipeline, and the second time, select the pipe well downstream of the pipeline. The pipeline slope operation will be automatically completed according to the set slope.

Citation Information

Patent Citations

  • Method for building and adjusting outdoor pipe network and inspection well based on BIM (Building Information Modeling) technology

    CN114840905A

  • Outdoor pipe network parametric modeling method and system based on BIM

    CN115391856A