BIM (Building Information Modeling) automatic piping scheme rapid generation method based on equipment installation atlas
By refining the equipment installation drawings and making them into a Revit equipment piping model, serializing them into XML format files and deserializing them in the Revit environment, the rapid generation of automatic piping solutions of the equipment is achieved, solving the problems of low conversion efficiency, easy errors and cumbersome changes in the existing technology, and significantly improving construction efficiency and quality.
Patent Information
- Application Number
- CN202510003362.4
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-01-02
- Publication Date
- 2025-05-06
AI Technical Summary
In the prior art, the conversion of equipment installation drawings to BIM equipment piping models is a labor-intensive, time-consuming and error-prone process, and design modifications or on-site changes require tedious manual updates.
By refining the device installation drawings, it covers various installation scenarios and needs, it is made into a Revit device piping model, and serializes the model into XML format files and stores it on the server. Write Revit client software, read the XML file address in the Revit environment, deserialize the data into interactive buttons and piping models, and realize the rapid generation of automatic piping solutions.
It significantly improves the efficiency and accuracy of equipment piping design, reduces the complexity and error of manual operation, simplifies the process of design modification and on-site change, and improves construction efficiency and quality.
Smart Images

Figure CN119938003A_ABST
Abstract
Description
Technical Field
[0001] The invention belongs to the field of building engineering informatization and construction technology, and relates to a method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas. Background Art
[0002] At present, in the field of equipment piping in the construction industry, the entire industry still generally performs manual modeling and piping in Revit software (3D BIM software) based on CAD drawings (2D software). The specific operation process is as follows:
[0003] (1) In the early stage of design, the designer uses two-dimensional software such as AutoCAD to draw equipment piping details and cross-sectional drawings based on the equipment installation drawings.
[0004] (2) During the BIM deepening phase, modeling engineers build 3D models in Revit. This includes selecting appropriate families (such as equipment families and valve families), arranging these elements according to the instructions in the 2D drawings, and adjusting their positions, sizes, and connections to ensure that the 3D model is consistent with the design intent.
[0005] (3) After the modeling is completed, adjust the equipment location or piping method according to the actual space conditions and system interference conditions at the project site.
[0006] With the in-depth use of BIM technology, the technology of converting installation drawings into BIM equipment piping plans has become the key.
[0007] The disadvantages of the prior art are as follows:
[0008] (1) Manually converting 2D CAD drawings into 3D Revit models is a labor-intensive process that requires engineers to compare drawings one by one and manually create and adjust each component, which is not only time-consuming but also inefficient.
[0009] (2) In the conversion process from 2D to 3D, some design intentions and details may not be fully retained or may be misunderstood, and deviations may easily occur.
[0010] (3) Once the design is modified or there are on-site changes, the corresponding parts in the Revit model need to be manually updated. This process is cumbersome and affects the project progress. Summary of the invention
[0011] Purpose of the invention: The purpose of the present invention is to provide a method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas. This method can provide an efficient and accurate solution for the equipment piping of each functional room, significantly improving construction efficiency and quality.
[0012] Technical solution: The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas of the present invention comprises the following steps:
[0013] S1. Refine the equipment installation atlas to cover various installation scenarios and requirements of this type of equipment;
[0014] S2. Make the refined equipment installation atlas into a Revit equipment piping model;
[0015] S3, serialize the information in the Revit equipment piping model into a general XML format file according to the designed data structure, upload it to the server, and store the address of the XML format file in the server in the equipment family;
[0016] S4. Write Revit client software, read the XML format file address stored in the equipment family in the Revit environment, deserialize the action behavior class XML data, and generate the corresponding interactive operation buttons; deserialize the component attribute class XML data, and generate the corresponding Revit equipment piping model by interactively selecting the piping form, which is the piping plan.
[0017] Furthermore, the method for refining the equipment installation atlas in step S1 is:
[0018] (1) Determine the common brands and specifications of the equipment: Select the equipment brand and determine the model and size of each equipment according to the equipment brand catalog;
[0019] (2) List the commonly used piping forms;
[0020] (3) Determine the installation position of the component and the minimum length of the straight pipe;
[0021] (4) Determine the pipeline connection method.
[0022] Further, step S2 includes:
[0023] (1) Select appropriate parameters as control parameters according to the equipment brand catalog and control parameter selection principles;
[0024] (2) Determine the equipment family type based on the equipment selection characteristics. The equipment family type that is not covered in the actual project can be achieved by modifying the control parameters;
[0025] (3) Pipes are arranged for each pipe diameter according to the commonly used inlet and outlet pipe diameter range of the equipment. Pipe fittings, positions and connection methods are selected according to the detailed equipment installation atlas.
[0026] Furthermore, the control parameter selection principles include:
[0027] (a) The overall size of the equipment needs to be controlled using instance parameters separately so that it can be adjusted according to the actual equipment;
[0028] (b) Parameters related to device interfaces need to be controlled using instance parameters separately to cover devices with any interface size and position;
[0029] (c) Other parameters are controlled using type parameters to reduce the complexity of the device family.
[0030] Furthermore, the serialization in step S3 includes action behavior serialization and component property serialization. Action behavior serialization is to serialize the system control, pipe diameter control, parameter control, displacement control, type control and selection control action behaviors of the Revit equipment piping model into XML format; component property serialization is to record the Revit equipment piping model, including the component name, the position of the component in the Revit equipment piping model, parameters, piping system type, and key information of the connection interface between components.
[0031] Furthermore, the data structure designed in step S3 is: taking the family, pipeline, connection point, and piping form as the root node of the data structure, and defining the related attributes and sub-elements in detail under each root node.
[0032] Furthermore, in step S4, an interactive interface is written through WPF, and interactive operation buttons are generated on the interactive interface; codes are written through RevitAPI to deserialize the component attribute class XML data to the preview interface, and the generated Revit equipment piping model is displayed on the preview interface.
[0033] The system corresponding to the method includes:
[0034] The equipment installation atlas refinement unit is used to refine the equipment installation atlas so that the installation atlas covers various installation scenarios and requirements of the equipment of this type;
[0035] The piping model making unit is used to make the detailed equipment installation drawings into the Revit equipment piping model;
[0036] The serialization unit is used to serialize the information in the Revit equipment piping model into a general XML format file according to the designed data structure, and upload it to the server. At the same time, the address of the XML format file in the server is stored in the equipment family;
[0037] The deserialization unit is used to write Revit client software, read the XML format file address stored in the equipment family in the Revit environment, deserialize the action behavior XML data, and generate the corresponding interactive operation buttons; deserialize the component attribute XML data, and generate the corresponding Revit equipment piping model by interactively selecting the piping form, which is the piping plan.
[0038] An electronic device for storing and executing the method, comprising:
[0039] A memory storing executable program code;
[0040] a processor coupled to the memory;
[0041] The processor calls the executable program code stored in the memory to execute the steps of the method for quickly generating a BIM automatic piping plan based on an equipment installation atlas.
[0042] A computer-readable storage medium for storing and executing the method, wherein the computer-readable storage medium stores computer instructions, and when the computer instructions are called, they are used to execute the steps of the method for quickly generating a BIM automatic piping plan based on an equipment installation drawing set.
[0043] Beneficial effects: Compared with the prior art, the significant technical effects of the present invention are: based on Revit software, by making the equipment installation atlas into a Revit equipment piping model, writing background code to serialize the Revit equipment piping model into a common format (XML) and store it on the server, and embedding the file address into the equipment family. Write a client code plug-in to deserialize the XML file into an interactive Revit equipment automatic piping model. This solves the problems of low efficiency, easy errors, and cumbersome changes in traditional methods. BRIEF DESCRIPTION OF THE DRAWINGS
[0044] Figure 1 is a flow chart of the method of the present invention;
[0045] Figure 2 Refine the structural diagram for the installation atlas;
[0046] Figure 3 Create logic diagrams for Revit equipment piping models;
[0047] Figure 4 Serialize the logic diagram for the Revit equipment piping model;
[0048] Figure 5 Deserialize to the logical diagram of Revit equipment piping model;
[0049] Figure 6 For the original installation atlas;
[0050] Figure 7 This is a newly added installation form, where (a) is the first view and (b) is the second view;
[0051] Figure 8 This is a schematic diagram of control parameters for an ice machine example;
[0052] Fig. 9 It is a schematic diagram of ice machine family types and piping combinations;
[0053] Fig.10 This is a schematic diagram of the serialization interface;
[0054] Fig.11 This is a schematic diagram of action behavior serialization;
[0055] Fig.12 Serialization diagram for background programs;
[0056] Fig.13 This is a schematic diagram of the preview interface for deserialized data;
[0057] Fig.14 This is a preview diagram of the piping;
[0058] Fig.15 A schematic diagram of the final result. DETAILED DESCRIPTION
[0059] The present invention is described in detail below with reference to the accompanying drawings and specific embodiments.
[0060] The present invention proposes an innovative and efficient solution to the limitations of the prior art in the process of converting equipment installation atlases into BIM equipment piping. The core of the solution is to realize the conversion of installation atlases into XML format data resources, embed these XML data resources into the equipment family, and seamlessly convert them into Revit equipment piping models. By integrating installation knowledge, design knowledge, Revit usage experience, data serialization and deserialization technology, and Revit secondary development technology, the present invention enables designers to form standardized products through one-time labor, thereby simplifying subsequent work processes, improving work efficiency and accuracy, and promoting design standardization and information sharing. Specifically, 1. The present invention first improves the atlas into more specific multiple installation forms based on installation and design experience. 2. The atlases of multiple installation forms are remodeled into Revit equipment piping models. 3. The Revit equipment piping model is converted into a digital resource in XML format through serialization, stored on a server, and the file address is embedded in the equipment family. 4. Write a client plug-in to deserialize XML format data resources into Revit equipment piping models through a flexible and friendly interactive interface, thereby realizing point-to-point transmission from the atlas to the Revit piping model, effectively solving the problems of low efficiency, easy errors, and cumbersome changes in traditional methods.
[0061] The present invention is based on Revit software. By making the equipment installation atlas into a Revit equipment piping model, writing background code to serialize the Revit equipment piping model into an XML general format and storing it on the server, and using ExtensibleStorage (external storage) technology to store the XML file address in the equipment family, writing client plug-in code to deserialize the XML file stored in the equipment family into an interactive Revit equipment piping model. This solves the problems of low efficiency, easy errors, and cumbersome changes in traditional methods. Figure 1 As shown, the specific technical solution for realizing the functions is explained as follows:
[0062] S1, installation atlas refinement;
[0063] Usually, the installation atlas is just an example of how to install a certain type of equipment. It needs to go through a series of refinement and improvement steps to ensure that the sample installation atlas can cover various installation scenarios and requirements of this type of equipment. Figure 2 As shown, the detailed process is:
[0064] (1) Determine the common brands and specifications of the equipment: Select a brand (usually a common brand) and determine the model and size of each equipment according to the catalog.
[0065] (2) List the commonly used piping forms based on design experience and construction experience.
[0066] (3) Determine the installation location of components (valves, filters, instruments) and the minimum length of straight pipes according to the specifications.
[0067] (4) Determine the pipeline connection method based on specifications and construction experience.
[0068] S2. Make Revit equipment piping model;
[0069] Make the detailed installation drawings into Revit equipment piping model, create logic such as Figure 3 As shown, the following are the points to note:
[0070] (1) Equipment family standardization and parameterization: Create equipment families in Revit based on the specified equipment brand catalog.
[0071] (a) Determine control parameters: Select appropriate parameters as control parameters based on the equipment brand catalog. Control parameters include instance parameters and type parameters. Instance parameters include the overall size of the equipment, interface size and interface position. Type parameters include technical parameters and external dimensions. The selection of control parameters needs to follow the following principles: 1. The overall size of the equipment (length, width, height) has a greater impact on the space, so it needs to be controlled by instance parameters alone so that it can be adjusted according to the actual equipment. 2. Parameters related to the equipment interface (interface size, interface position) need to be controlled by instance parameters alone so as to cover as many equipment interfaces as possible. 3. Other parameters are controlled by type parameters to reduce the complexity of the equipment family.
[0072] (b) Set the equipment family type: To facilitate user use, several commonly used equipment family types should be determined according to the characteristics of equipment selection. For example, the pump family can be set up with different family types according to the head or inlet and outlet diameters. The types should not be too many (not more than 10). The types that are not covered in the actual project can be achieved by modifying the control parameters.
[0073] (c) Equipment pipe connection: Pipes are arranged for each pipe diameter according to the commonly used inlet and outlet pipe diameter range of the equipment. Pipe fittings (such as elbows, tees, valves, pressure gauges, flow meters, brackets, etc.), positions and connection methods (such as threaded connection, welding, etc.) are arranged according to the atlas.
[0074] The piping system is a network consisting of a series of pipes, fittings, valves and other components used to transport fluids (such as liquids or gases) between different locations. The Revit equipment piping model consists of parametric equipment families and piping systems. Among them, the main information of the piping system, including piping form, connection method, pipe fittings, valves and instruments, must be obtained from the detailed installation drawings. Prepare the corresponding piping system Revit family and combine it with the parametric equipment family to form a complete Revit equipment piping model.
[0075] S3, Revit equipment piping model is serialized into a common format (XML) and stored on the server and embedded into the equipment family; the equipment family is Figure 2 The parametric equipment family in the , the parametric equipment family contains less than 10 family types, for example: a water pump parametric family can contain multiple different heads if it is divided into family types by head (i.e. total dynamic head, including maximum water supply height and other resistance losses), such as a pump family type with a head of 100 meters, a family type with a head of 200 meters, and so on. Figure 4 As shown, the serialization logic of the Revit equipment piping model includes:
[0076] (1) Serialization includes action serialization and component attribute serialization. Action serialization mainly serializes the action behaviors such as system control, pipe diameter control, parameter control, displacement control, type control and selection control of the Revit equipment piping model into XML format. Component attribute serialization mainly records the Revit equipment piping model, including the name of the component (parametric equipment family, pipes, valves, pipe fittings, instruments), the position of the component in the Revit equipment piping model, parameters, piping system type, connection interface between components and other key information.
[0077] (2) Data structure design: The family (all components except pipes), pipes, connection points (connection points between components), and piping forms are taken as the root nodes of the data structure. At the same time, the related attributes and sub-elements are defined in detail under each root node, such as name, system type, location, parameters, conversion matrix, etc.
[0078] The transformation matrix is the transformation matrix (a rectangular array of numbers consisting of rows and columns) of a family or pipe in the Revit equipment piping model.
[0079] (3) Serialization encoding: Use C# language to convert the information in the Revit equipment piping model into an XML format file according to the designed data structure, and upload it to the distributed object storage server. The address of the file in the server is stored in the equipment family through ExtensibleStorage (external storage) technology.
[0080] S4. Write Revit client software, read the XML format file address stored in the equipment family in the Revit environment, deserialize the action behavior XML data into interactive operation buttons in the interactive interface, deserialize the component attribute XML data into the preview interface, select the piping form through the interactive interface, and generate the deserialized Revit equipment piping model in the preview interface, which is the piping plan; the Revit-based equipment automatic piping interface includes an interactive interface and a preview interface. Figure 5 As shown, it usually includes the following steps:
[0081] (a) Write an interactive interface: Use WPF to write an interactive interface that can dynamically generate interactive operation buttons based on XML behavior data. Specifically, the XML data of the action behavior class will be deserialized and the corresponding interactive operation buttons will be generated accordingly.
[0082] (b) Write code through Revit API to deserialize component attribute class XML data to the preview interface: Read the XML file address stored in the equipment family in the Revit environment, deserialize the data structure into family, pipes, etc. through Revit API and display them in the preview interface, and generate the corresponding Revit equipment piping model by interactively selecting the appropriate piping form, which is the piping plan. Finally, place the piping plan in the Revit building information model of the project.
[0083] Example verification:
[0084] Taking the variable frequency chiller as an example, the specific operation steps are as follows:
[0085] (1) Refinement of installation atlas;
[0086] York ice machine brand was selected as the object. While keeping the original connection method and the minimum straight pipe length unchanged, the interface installation form was expanded to two types (one vertical 90-degree installation method was added) based on construction design experience. Figure 6 Original installation drawings are shown. Figure 7 (a) and (b) show new installation methods.
[0087] (2) Create a Revit equipment piping model;
[0088] (2.1) Determine control parameters;
[0089] According to the parameters of the ice machine sample book, the ice machine family determines to use the "pipe size" parameters of the evaporator and condenser as control parameters to control the equipment size, which can reduce the number of control parameters in the family. At the same time, the location instance parameters of the interface are created as control parameters. The ice machine instance control parameters are as follows Figure 8 shown.
[0090] (2.2) Set the equipment family type: According to the key control parameter of the ice machine, "pipe size", 7 types of equipment families are determined. Those that are not covered in the actual project can be achieved by modifying the control parameters.
[0091] (2.3) Create a Revit equipment piping model based on the installation drawing set in Revit. The type of ice machine family and the piping combination are as follows: Fig. 9 shown.
[0092] (3) The Revit equipment piping model is serialized into a common format (XML), stored on the server and embedded into the equipment family.
[0093] The template library can be serialized into XML format through the background configuration scheme operation. The operation interface is as follows Fig.10 As shown, the operation is as follows:
[0094] (3.1) First, create a new solution in the equipment piping editor (including equipment piping solutions with various piping forms);
[0095] (3.2) Then add the device primitive (i.e. the component to be serialized) to the instance module;
[0096] (3.3) Then add selection sets according to pipe diameter and interface, that is, sequence the component properties;
[0097] (3.4) Add controllers. Select different controllers to serialize the actions.
[0098] The action behavior sequence is executed through the controller, which includes modifying the pipeline system, modifying the pipe diameter, modifying the parameters, modifying the component position, modifying the family type, binding two components: one component follows the movement of another component, selecting the pipe diameter, etc. Fig.11 shown.
[0099] (3.5) Save the piping (XML) scheme: The XML format will be uploaded to the server, and the XML file address will be stored in the device family;
[0100] (3.6) Save as family: Save the device family storing the XML address to another place for easy access next time.
[0101] After serialization, the XML file is obtained and saved to the server, and the file address is stored in the device family through ExtensibleStorage (external storage) technology. The interface for serialization in the background program is as follows Fig.12 shown.
[0102] (4) Write a client plug-in to deserialize the XML file into an interactive Revit-based equipment automatic piping interface.
[0103] In the Revit environment, load the device family from the location where the device family is saved into the Revit building information model of the project, read the XML file address stored in the device family through the Revit client plug-in, deserialize the data structure into families, pipes, etc. through the Revit API and display them in the preview interface (such as Fig.13 The user selects the size, installation method (piping form), and system type for each interface of the device, and then a piping preview effect is displayed in real time (as shown in the figure). Fig.14 As shown in the figure, select the appropriate piping form for each interface of the equipment through interactive selection and place it in the Revit building information model of the project. The final piping model after placement is shown as follows Fig.15 shown.
[0104] In summary, the present invention is based on Revit software, improves the equipment installation atlas and makes it into a Revit equipment piping model, writes server-side code to serialize the Revit equipment piping model into a common format (XML) and stores it on the server, and stores the file address in the equipment family, writes a Revit client plug-in, deserializes the XML file stored in the equipment family into an interactive equipment automatic piping interface, realizes the close integration of the piping scheme and the equipment family, and ensures the real-time generation and deployment of the scheme. It is suitable for the design and construction of equipment piping for various functional rooms in various construction projects such as commercial buildings, industrial plants, and medical facilities. Through this technology, it can provide efficient and accurate solutions for the equipment piping of various functional rooms, significantly improving construction efficiency and quality.
[0105] The above is only an embodiment of the present invention and is not intended to limit the present invention. Any modifications, equivalent substitutions and improvements made within the spirit and principles of the present invention should be included in the protection scope of the invention.
Claims
1. A method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas, characterized in that: The following steps are involved: S1. Refine the equipment installation atlas to cover various installation scenarios and requirements of this type of equipment; S2. Make the refined equipment installation atlas into a Revit equipment piping model; S3, serialize the information in the Revit equipment piping model into a general XML format file according to the designed data structure, upload it to the server, and store the address of the XML format file in the server in the equipment family; S4. Write Revit client software, read the XML format file address stored in the equipment family in the Revit environment, deserialize the action behavior class XML data, and generate the corresponding interactive operation buttons; deserialize the component attribute class XML data, and generate the corresponding Revit equipment piping model by interactively selecting the piping form, which is the piping plan.
2. The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas according to claim 1 is characterized in that: The method for refining the equipment installation atlas in step S1 is: (1) Determine the common brands and specifications of the equipment: Select the equipment brand and determine the model and size of each equipment according to the equipment brand catalog; (2) List the commonly used piping forms; (3) Determine the installation position of the component and the minimum length of the straight pipe; (4) Determine the pipeline connection method.
3. The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas according to claim 1 is characterized in that: Step S2 includes: (1) Select appropriate parameters as control parameters according to the equipment brand catalog and control parameter selection principles; (2) Determine the equipment family type based on the equipment selection characteristics. The equipment family type that is not covered in the actual project can be achieved by modifying the control parameters; (3) Pipes are arranged for each pipe diameter according to the commonly used inlet and outlet pipe diameter range of the equipment. Pipe fittings, positions and connection methods are selected according to the detailed equipment installation atlas.
4. The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas according to claim 3 is characterized in that: The control parameter selection principles include: (a) The overall size of the equipment needs to be controlled using instance parameters separately so that it can be adjusted according to the actual equipment; (b) Parameters related to device interfaces need to be controlled using instance parameters separately to cover devices with any interface size and position; (c) Other parameters are controlled using type parameters to reduce the complexity of the device family.
5. The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas according to claim 1 is characterized in that: The serialization in step S3 includes action behavior serialization and component property serialization. Action behavior serialization is to serialize the system control, pipe diameter control, parameter control, displacement control, type control and selection control action behaviors of the Revit equipment piping model into XML format; component property serialization is to record the Revit equipment piping model, including the component name, the position of the component in the Revit equipment piping model, parameters, piping system type, and key information of the connection interface between components.
6. The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas according to claim 1 is characterized in that: The data structure designed in step S3 is: taking the family, pipeline, connection point, and piping form as the root node of the data structure, and defining the related attributes and sub-elements in detail under each root node.
7. The method for quickly generating a BIM automatic piping scheme based on an equipment installation atlas according to claim 1 is characterized in that: In step S4, an interactive interface is written through WPF, and interactive operation buttons are generated on the interactive interface; code is written through RevitAPI to deserialize the component attribute class XML data to the preview interface, and the generated Revit equipment piping model is displayed on the preview interface.
8. A BIM automatic piping scheme rapid generation system based on equipment installation atlas, characterized in that: include: The equipment installation atlas refinement unit is used to refine the equipment installation atlas so that the installation atlas covers various installation scenarios and requirements of the equipment of this type; The piping model making unit is used to make the detailed equipment installation drawings into the Revit equipment piping model; The serialization unit is used to serialize the information in the Revit equipment piping model into a general XML format file according to the designed data structure, and upload it to the server. At the same time, the address of the XML format file in the server is stored in the equipment family; The deserialization unit is used to write Revit client software, read the XML format file address stored in the equipment family in the Revit environment, deserialize the action behavior XML data, and generate the corresponding interactive operation buttons; deserialize the component attribute XML data, and generate the corresponding Revit equipment piping model by interactively selecting the piping form, which is the piping plan.
9. An electronic device, characterized in that: The device comprises: A memory storing executable program code; a processor coupled to the memory; The processor calls the executable program code stored in the memory to execute the steps of the method for quickly generating a BIM automatic piping plan based on an equipment installation atlas as described in any one of claims 1 to 7.
10. A computer-readable storage medium, characterized in that: The computer-readable storage medium stores computer instructions, which, when called, are used to execute the steps of the method for quickly generating a BIM automatic piping plan based on an equipment installation atlas as described in any one of claims 1 to 7.