Revit-based electromechanical connecting piece engineering quantity key parameter extraction method
By determining the form of the connector in the Revit software, splitting the connector and calculating its engineering quantity parameters, the problem that the Revit software cannot directly extract the engineering quantity of the electromechanical connector is solved, and more accurate engineering quantity calculation is achieved.
Patent Information
- Application Number
- CN202411579115.0
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2024-11-07
- Publication Date
- 2025-04-01
- Estimated Expiration
- 2044-11-07
AI Technical Summary
The existing Revit software has limitations in the extraction of pipeline quantity, and it is impossible to directly extract the engineering quantity of electromechanical connectors, resulting in large calculation accuracy errors.
Through the exhaustive method, determine all the connecting parts of the wind pipe, water pipe and bridge tray in the Revit software, find the split point of the connecting parts and split it into multiple pipelines, and calculate the key parameters of the engineering quantity, such as length, shape, and dimension information.
It realizes accurate extraction of the engineering volume of electromechanical connectors, makes up for the defects of the native function of Revit software, improves calculation accuracy, and is suitable for all connector forms and three-dimensional models.
Smart Images

Figure CN119740349A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the technical field of building information modeling, and in particular to a method for extracting key parameters of engineering quantities of electromechanical connectors based on Revit. Background Art
[0002] Although Revit is a powerful BIM (Building Information Modeling) software, it has certain limitations in extracting pipeline quantities. For example, the built-in detail list function of Revit can extract information on pipeline quantities, but it cannot extract the engineering quantities of pipe fittings, duct fittings, and cable tray accessories (hereinafter, no distinction is made between water pipes, ducts, and cable tray connectors, referred to as connectors).
[0003] When calculating the engineering quantity according to the quota, the quantity of connectors needs to be converted into the quantity of pipelines. At present, the Revit software itself does not support the direct extraction of such information. There are also some ideas on the market involving how to convert the quantity of pipe fittings into the quantity of pipelines, but all of them have the problem of large calculation accuracy error. Therefore, it is necessary to provide a method for extracting the key parameters of the engineering quantity of electromechanical connectors based on Revit, which can solve the problem of large calculation accuracy error of the engineering quantity of connectors in the prior art. Summary of the invention
[0004] The purpose of the present invention is to provide a method for extracting key parameters of electromechanical connector engineering quantities based on Revit, which can solve the problem of large error in the calculation accuracy of connector engineering quantities in the prior art.
[0005] The present invention is achieved in that:
[0006] A method for extracting key parameters of electromechanical connector engineering quantities based on Revit, comprising the following steps:
[0007] Step 1: Determine all the connector forms of air ducts, water pipes, and bridges in Revit software through exhaustive method;
[0008] Step 2: Find the split point S of the connector and split the connector at the split point S;
[0009] Step 3: Use the split point S to split the connector into multiple pipelines and calculate the key parameters of the engineering quantity: length;
[0010] Step 4: With the help of the Shape parameter and Width, Height or Radius parameter of each connection point C, the shape and size information of the pipeline after splitting is obtained;
[0011] Step 5: For the pipeline lifting parameter information that is not in the connector but is required, obtain it by searching for the parameter information of the pipeline connected to the connection point C; if the connection point C has no connected pipeline, obtain the information by searching for pipelines connected to other connection points C; if all connection points C have no connected pipelines, assign the required pipeline lifting parameter information to "unknown" to achieve logical completeness;
[0012] Step 6: Split all connectors and convert them into pipeline information to obtain key engineering quantity parameter information of connectors in all pipelines.
[0013] In the step 1, the connector forms include connectors with 2 connection points, connectors with 3 connection points and connectors with 4 connection points; wherein, the connectors with 2 connection points include vertical connectors, angle connectors and parallel connectors, the connectors with 3 connection points include T-shaped connectors and Y-shaped connectors, and the connectors with 4 connection points include cross-shaped connectors and Y-shaped connectors.
[0014] In step 2, the step of finding the split point includes:
[0015] Step 2.1: Find all valid connection points C of connectors through the connector API;
[0016] Step 2.2: Find the connection direction BasisZ of each connection point C;
[0017] Step 2.3: Take one of the connection points C of the connector as the starting point and construct a straight line line with the connection direction BasisZ of the connection point as the direction;
[0018] Step 2.4: When the number of connection points C is 2, first determine whether the two straight lines are parallel lines. If so, take the midpoint of the two connection points C as the split point S; if not, calculate the closest points of the two lines to each other, and take the midpoint of the two closest points as the split point S;
[0019] When the number of connection points C is 3, first find two parallel straight lines line, construct a new straight line newline with the starting point of the two straight lines line, that is, the connection point C, and then find the intersection of the new straight line newline and the third straight line line, and use the intersection as the split point S;
[0020] When the number of connection points C is 4, first find two parallel straight lines line, and construct a first new straight line newline1 with the starting points of the two straight lines line, i.e. the connection points C; if the other two straight lines are parallel to each other, then construct a second new straight line newline2 with the starting points of the two straight lines line, i.e. the connection points C, and use the intersection of the first new straight line newline1 and the second new straight line newline2 as the split point S; if the other two straight lines are not parallel, then find the intersection of the first new straight line newline1 with the third straight line line and the fourth straight line line, and use the intersection as the split point S.
[0021] In the step 3, the distances between each connection point C of the connector and the splitting point S are calculated respectively, which are the length parameters of the pipeline after splitting.
[0022] Compared with the prior art, the present invention has the following beneficial effects:
[0023] 1. The present invention converts pipeline information through connector splitting, which makes up for the original functional defects of Revit software. It only needs to meet the geometric logic and connect correctly, and then use the API of Revit software to accurately convert the connector quantity into pipeline quantity. There is no restriction on the connector family, and the key parameter information of the length, shape, size and other engineering quantities of connectors such as pipe fittings, duct fittings, cable tray accessories, pipeline accessories, duct accessories, etc. can be accurately obtained and successfully extracted. The extraction method is simple and easy to operate, and the extracted engineering quantity information is more accurate.
[0024] 2. The present invention extracts the quantity of connectors based on Revit software, does not require additional specification or adjustment of the BIM model, and is more universal and comprehensive, covering all connector forms in Revit software. In addition, all three-dimensional models with connection point information can use this method to extract key parameters of connector quantity.
[0025] 3. The present invention can extract all engineering quantities of mechanical and electrical pipelines from the BIM model according to the quota, expand the application depth of the BIM model, and provide a more accurate basis for on-site material delivery orders. BRIEF DESCRIPTION OF THE DRAWINGS
[0026] Figure 1 It is a flow chart of a method for extracting key parameters of engineering quantities of electromechanical connectors based on Revit of the present invention;
[0027] Figure 2 These are three structural diagrams of connectors with two connection points in the method for extracting key parameters of mechanical and electrical connector engineering quantities based on Revit of the present invention;
[0028] Figure 3These are two structural diagrams of connectors at three connection points in the method for extracting key parameters of mechanical and electrical connector engineering quantities based on Revit of the present invention;
[0029] Figure 4 These are two structural diagrams of connectors at four connection points in the method for extracting key parameters of electromechanical connector engineering quantities based on Revit of the present invention. DETAILED DESCRIPTION
[0030] The present invention will be further described below in conjunction with the accompanying drawings and specific embodiments.
[0031] Please see attached Figure 1 , a method for extracting key parameters of electromechanical connector engineering quantity based on Revit, comprising the following steps:
[0032] Step 1: Determine all the connection forms of air ducts, water pipes, and bridges in Revit software through exhaustive method.
[0033] Please see attached Figure 2 , attached Figure 2 Three structural forms of connectors with two connection points are listed, among which (a) is a vertical connector, (b) is an angle connector, and (c) is a parallel connector.
[0034] Please see attached Figure 3 , attached Figure 3 Two structural forms of connectors with three connection points are listed, among which (d) is a T-shaped connector and (e) is a Y-shaped connector.
[0035] Please see attached Figure 4 , attached Figure 4 Two structural forms of connectors with four connection points are listed, among which (f) is a cross-shaped connector and (g) is a Y-shaped connector.
[0036] Step 2: Find the split point S of the connector and split the connector at the split point S.
[0037] In step 2, the step of finding the split point includes:
[0038] Step 2.1: Find all valid connection points C of the connectors through the connector's API (Application Programming Interface).
[0039] For example, a connector with 2 connection points has 2 valid connection points C, which can be recorded as C1 and C2 respectively; a connector with 3 connection points has 3 valid connection points C, which can be recorded as C1, C2 and C3 respectively; a connector with 4 connection points has 4 valid connection points C, which can be recorded as C1, C2, C3 and C4 respectively.
[0040] Step 2.2: Find the connection direction BasisZ of each connection point C, as shown in the figure Figure 2 To Attachment Figure 4 In the direction indicated by the arrow.
[0041] Step 2.3: Take one of the connection points C of the connector as the starting point and construct a straight line line with the connection direction BasisZ of the connection point as the direction.
[0042] Each connector has several connection points, and can construct several straight lines. For example, a connector with 2 connection points has 2 straight lines, which can be recorded as line1 and line2; a connector with 3 connection points has 3 straight lines, which can be recorded as line1, line2, and line3; a connector with 4 connection points has 4 straight lines, which can be recorded as line1, line2, line3, and line4.
[0043] Step 2.4: When the number of connection points C is 2, first determine whether the two straight lines are parallel lines. If so, take the midpoint of the two connection points C, i.e., connection point C1 and connection point C2, as the split point S; if not, calculate the closest points of the two lines to each other respectively, and take the midpoint of the two closest points as the split point S.
[0044] When the number of connection points C is 3, first find two parallel straight lines line, construct a new straight line newline with the starting points of the two straight lines line, that is, the connection points C, and then find the intersection of the new straight line newline and the third straight line line, and use the intersection as the split point S.
[0045] When the number of connection points C is 4, first find two parallel straight lines line, and construct a first new straight line newline1 with the starting point of the two straight lines line, i.e. the connection point C; if the other two straight lines are parallel to each other, then construct a second new straight line newline2 with the starting point of the two straight lines line, i.e. the connection point C, and use the intersection of the first new straight line newline1 and the second new straight line newline2 as the split point S; if the other two straight lines are not parallel, find the intersection of the first new straight line newline1 with the third straight line line and the fourth straight line line (the third straight line line and the fourth straight line line are usually symmetrically distributed, so the intersection with the first new straight line newline1 is the same point), and use the intersection as the split point S.
[0046] Step 3: Use the split point S to split the connector into multiple pipelines and calculate the key parameter of the project quantity: length.
[0047] Specifically, the distances between each connection point C of the connector and the split point S are calculated respectively, which are the length parameters of the pipeline after splitting.
[0048] Step 4: With the help of the Shape parameters and Width, Height or Radius parameters of each connection point C, the shape and size information of the split pipeline is obtained.
[0049] The Shape parameters and Width, Height or Radius parameters of the connection point C can be directly obtained from the Revit software and will not be repeated here.
[0050] Step 5: For pipeline lifting parameter information that is not available in the connector but is required, it can be obtained by looking for the parameter information of the pipeline connected to the connection point C; if there is no pipeline connected to the connection point C, the information can be obtained by looking for pipelines connected to other connection points C; if all connection points C have no pipelines connected, the required pipeline lifting parameter information is assigned to "unknown" to achieve logical completeness (this situation is a model drawing error).
[0051] Step 6: Split all connectors and convert them into pipeline information to obtain key engineering quantity parameter information of connectors in all pipelines.
[0052] The above are only preferred embodiments of the present invention and are not intended to limit the scope of protection of the invention. Therefore, any modifications, equivalent substitutions, improvements, etc. made within the spirit and principles of the present invention should be included in the scope of protection of the present invention.
Claims
1. A method for extracting key parameters of electromechanical connector engineering quantities based on Revit, characterized by: The following steps are involved: Step 1: Determine all the connector forms of air ducts, water pipes, and bridges in Revit software through exhaustive method; Step 2: Find the split point S of the connector and split the connector at the split point S; Step 3: Use the split point S to split the connector into multiple pipelines and calculate the key parameters of the engineering quantity: length; Step 4: With the help of the Shape parameter and Width, Height or Radius parameter of each connection point C, the shape and size information of the pipeline after splitting is obtained; Step 5: For the pipeline lifting parameter information that is not in the connector but is required, obtain it by searching for the parameter information of the pipeline connected to the connection point C; if the connection point C has no connected pipeline, obtain the information by searching for pipelines connected to other connection points C; if all connection points C have no connected pipelines, assign the required pipeline lifting parameter information to "unknown" to achieve logical completeness; Step 6: Split all connectors and convert them into pipeline information to obtain key engineering quantity parameter information of connectors in all pipelines.
2. The method for extracting key parameters of electromechanical connector engineering quantities based on Revit according to claim 1 is characterized by: In the step 1, the connector forms include connectors with 2 connection points, connectors with 3 connection points and connectors with 4 connection points; wherein, the connectors with 2 connection points include vertical connectors, angle connectors and parallel connectors, the connectors with 3 connection points include T-shaped connectors and Y-shaped connectors, and the connectors with 4 connection points include cross-shaped connectors and Y-shaped connectors.
3. The method for extracting key parameters of electromechanical connector engineering quantities based on Revit according to claim 1 is characterized by: In step 2, the step of finding the split point includes: Step 2.1: Find all valid connection points C of connectors through the connector API; Step 2.2: Find the connection direction BasisZ of each connection point C; Step 2.3: Take one of the connection points C of the connector as the starting point and construct a straight line line with the connection direction BasisZ of the connection point as the direction; Step 2.4: When the number of connection points C is 2, first determine whether the two straight lines are parallel lines. If so, take the midpoint of the two connection points C as the split point S; if not, calculate the closest points of the two lines to each other, and take the midpoint of the two closest points as the split point S; When the number of connection points C is 3, first find two parallel straight lines line, construct a new straight line newline with the starting point of the two straight lines line, that is, the connection point C, and then find the intersection of the new straight line newline and the third straight line line, and use the intersection as the split point S; When the number of connection points C is 4, first find two parallel straight lines line, and construct a first new straight line newline1 with the starting points of the two straight lines line, i.e. the connection points C; if the other two straight lines are parallel to each other, then construct a second new straight line newline2 with the starting points of the two straight lines line, i.e. the connection points C, and use the intersection of the first new straight line newline1 and the second new straight line newline2 as the split point S; if the other two straight lines are not parallel, then find the intersection of the first new straight line newline1 with the third straight line line and the fourth straight line line, and use the intersection as the split point S.
4. The method for extracting key parameters of electromechanical connector engineering quantities based on Revit according to claim 1 is characterized by: In the step 3, the distances between each connection point C of the connector and the splitting point S are calculated respectively, which are the length parameters of the pipeline after splitting.
Citation Information
Patent Citations
Revit-based data sharing method and device
CN109800497A
Electromechanical module automatic splitting and one-dimensional blanking method based on BIM technology
CN110110928A
Depth extraction method based on revit wall component
CN112182698A
Information extraction method based on revit primitive model
CN112182699A
Electromechanical model splitting method based on Revit and Dynamo
CN115392180A