Method for automatically generating workshop non-standard part material detail table by using Revit
The Revit software automatically generates a list of materials for non-standard parts, which solves the problems of low design efficiency and insufficient accuracy caused by manual calculation, and achieves efficient and accurate material information management.
Patent Information
- Application Number
- CN202510354007.1
- Authority / Receiving Office
- CN · China
- Patent Type
- Applications(China)
- Current Assignee / Owner
- Filing Date
- 2025-03-25
- Publication Date
- 2025-07-18
AI Technical Summary
In engineering design, the generation of material lists of non-standard parts relies on manual calculations, resulting in inefficient design and inaccurate calculation results, especially non-standard parts with complex structures are difficult to accurately count.
Revit software is used for secondary development, and by checking the material assignment of non-standard parts and three-dimensional solid feature size matching, a material list is automatically generated, including automated processing of material names, specifications and volumes.
It realizes one-click generation and update of non-standard piece material lists, improves design efficiency and calculation accuracy, reduces human errors, and simplifies the operation process.
Smart Images

Figure CN120337346A_ABST
Abstract
Description
Technical Field
[0001] The present invention relates to the field of engineering design, and particularly to a method for automatically generating a material bill of non-standard parts in a workshop by using Revit. Background Art
[0002] In the field of traditional design engineering, non-standard parts are widely used and numerous in quantity. Their design process highly depends on two-dimensional manual drawing technology. In this process, not only do we need to manually draw the drawings of non-standard parts, but also manually compile the material bill of non-standard parts. The content of this bill is almost entirely obtained by manual calculation, which not only leads to low design efficiency but also makes it difficult to ensure the accuracy of the calculation results. Particularly troublesome is that in the face of some non-standard parts with complex structures, the manual calculation method even fails to obtain accurate results, thus further increasing the design difficulty and uncertainty.
[0003] In recent years, with the continuous development of Building Information Modeling (BIM) technology, its application in the field of engineering design has become increasingly mature. Among them, Revit, as a mainstream BIM three-dimensional design software, has brought a revolutionary change to engineering design with its multiple advantages such as visualization, parameterization, digitization, collaboration, and simulation. Professional designers in various fields can use Revit software to timely discover and solve the lap problems between different specialties, and at the same time more accurately count the engineering quantities, effectively achieving the goal of cost reduction and efficiency improvement.
[0004] In the current engineering design practice, mainstream units generally use commands such as extrusion, fusion, rotation, and lofting in Revit software to create family models of non-standard parts and load them into the corresponding positions in the project. Through the generate parts function in the project, these non-standard parts are uniformly managed and drawing processed. In terms of the statistics of the non-standard part bill, it relies on the bill statistics function of Revit, which automatically generates the material bill of non-standard parts by reading the information of the three-dimensional model. This method alleviates the problem of insufficient accuracy in manual calculation in traditional design to a certain extent.
[0005] However, for a single non-standard part, the process of drawing in the part function and the process of counting the material bill in the bill function are separated from each other. This results in the need for the fabricators of non-standard parts to manually check the information of the drawings and the bill separately during the fabrication process, and its efficiency is even lower than that of traditional two-dimensional non-standard drawings. In addition, using the bill statistics function of Revit also requires creating multiple shared parameters, which is not only complex and cumbersome but also requires additional file storage space, undoubtedly reducing the usability and convenience of this method. Summary of the Invention
[0006] In view of the above problems, it is necessary to improve and optimize the existing method for extracting the non-standard part material list.
[0007] The present invention provides a method for automatically generating a non-standard part material list in a workshop by using Revit, including the following steps:
[0008] S1: Check the non-standard parts generated by the user using the component function in the workshop project: whether there is a non-standard part without material assignment or the material name does not conform to the agreement. If so, prompt the user to return and modify.
[0009] In the workshop project, each non-standard part family created by the user is loaded, and the non-standard parts in each non-standard part family are assigned material names, and the material names contain material classification, material specifications, and material codes.
[0010] S2: Check whether the three-dimensional entity feature dimensions in the non-standard part family match the corresponding material names; if they do not match, prompt the user to return and modify.
[0011] S3: Obtain the set of material names of all non-standard parts in the workshop project and the volumes of the corresponding entities, and generate a material list accordingly.
[0012] Preferably, each part in the material name is separated by "_" to achieve the recognition and reading of each part of the content.
[0013] Preferably, the method for checking whether the three-dimensional entity feature dimensions match the corresponding material names is to analyze the information of the geometric surfaces in the three-dimensional entity, classify and calculate according to the statistical method of the three-dimensional entity and the type of geometric surfaces, obtain the feature dimensions of a single three-dimensional entity after comparing the calculation results, and make an equal value judgment between the feature dimensions and the material specifications in the material name assigned to the three-dimensional entity.
[0014] Preferably, in step S3, when generating the material list, if the non-standard part contains a standard equipment nested family adjacent to it, the material of the standard equipment nested family is automatically excluded.
[0015] Preferably, the fields of the material list include: serial number, code, name, quantity, material, single weight, total weight, and remarks; among them, the code field is the standard code that the material conforms to, the name field is the specification, area, or length of the material, and the material field is the material code.
[0016] The present invention also provides a computer program product, including a computer program, which implements the above method when executed by a processor.
[0017] Beneficial effects: Through the secondary development technology of Revit, the present invention realizes the function of generating or updating the material bill of non-standard parts in the whole workshop with one key. This function greatly reduces the workload of manually calculating and compiling the material bill, thus significantly improving the design efficiency. At the same time, since the program can automatically read information from the 3D model and generate the bill, it also greatly improves the accuracy of the calculation results and reduces the risk of human errors.
[0018] In Revit design practice, the drawings and material bills of non-standard parts are usually separated, which increases the difficulty for the production staff to find and compare information. However, the present invention realizes the efficient combination of the material bill and the drawings of non-standard parts in the Revit software, avoiding information fragmentation, enabling the production staff to obtain and use relevant information more conveniently, and further improving the work efficiency.
[0019] The present invention creates a unified format for the 3D entity material names in the non-standard part family. This format contains key information such as specialty, material classification, material specifications, and material codes, ensuring the accuracy and consistency of the material information. At the same time, before generating the material bill, the program will also conduct a strict check on the matching degree of the shape and size of the 3D entities in the non-standard part family and the assigned material names, further ensuring the consistency and accuracy of the material and the entity.
[0020] Compared with the traditional manual calculation method, the method of this patent is more convenient and easy to use. The proofreading personnel only need to focus on whether the dimensions and orientations of the non-standard parts themselves are correct, without having to pay attention to the statistics of the material quantity. In addition, it does not require creating multiple shared parameters, reducing the complexity of the operation and the need for additional file storage space. At the same time, when the non-standard parts are modified, only by re-running the program can an updated bill be obtained, further enhancing the ease of use and convenience. Brief Description of the Drawings
[0021] Figure 1 It is the overall flowchart when the present invention is applied;
[0022] Figure 2 It is the process diagram of assigning materials in the 3D entity attributes;
[0023] Figure 3 It is the material name diagram created in the non-standard part family;
[0024] Figure 4 It is the component view created by the non-standard part family in Revit;
[0025] Figure 5 It is the inspection diagram for the problems of missing material assignment and material name format of 3D entities;
[0026] Figure 6Match degree inspection chart of three-dimensional entity feature size and assigned material name;
[0027] Figure 7 Automatically generate material list chart for non-standard parts. Detailed implementation manners
[0028] To make the objectives, features and advantages of the present invention more obvious and understandable, the technical solutions in the embodiments of the present invention will be clearly and completely described below with reference to the accompanying drawings in the embodiments of the present invention. Obviously, the embodiments described below are only a part of the embodiments of the present invention, rather than all the embodiments. All other embodiments obtained by those of ordinary skill in the art based on the embodiments of the present invention without creative efforts shall fall within the protection scope of the present invention.
[0029] As Figure 1 shown, a method for automatically generating a material list for non-standard parts in a workshop by using Revit includes the following steps:
[0030] (1) The user creates each non-standard part family in the workshop. The shape and size of each three-dimensional entity in the family are strictly consistent with the actual design. The actual design material is assigned to it in the property bar of the three-dimensional entity. See Figure 2 ; The material name conforms to a unified format, which is divided into four parts: specialty, material classification, material specification and material code. As Figure 3 shown;
[0031] (2) The user loads the created non-standard part family into the workshop project of Revit and uses the component function to generate non-standard part components and component views. The component views include the drawing frames used for drawing non-standard parts. As Figure 4 shown;
[0032] (3) The program checks for the problem of missing material assignment for three-dimensional entities in the non-standard part family and the format problem of the material name. If there is an incorrect material name, the program will list it for the user to return and modify. As Figure 5 shown;
[0033] (4) The program checks the matching degree between the feature size of the three-dimensional entity in the non-standard part family and the corresponding material name. First, it obtains the geometric information of a single three-dimensional entity, analyzes the information of the geometric surfaces in the three-dimensional entity, and then classifies and calculates according to the statistical method of the three-dimensional entity and the type of geometric surface. After comparing the calculation results, the feature size of a single three-dimensional entity is obtained. The feature size is compared with the material specification in the material name assigned to the three-dimensional entity for equal value judgment. The three-dimensional entities that fail the equal value judgment will be isolated and marked with different colors for the convenience of the user to modify. As Figure 6 shown. The feature size obtained for three-dimensional entities such as steel plates and steel pipes is the thickness, and the feature size obtained for three-dimensional entities such as steel sections is the cross-sectional area;
[0034] (5) The program obtains the set of material names assigned to the 3D entities in the non-standard parts and the volume of the entities. During the design process of the non-standard part family file or the process of generating parts of the non-standard part family, due to the user's habits, it may include nested families of standard devices adjacent to it, such as valves and expansion joints on pipelines. In this case, the program will automatically exclude the materials of such nested families of standard devices;
[0035] (6) First, the program takes the material classification and material specifications obtained from the material volume and material names as basic data, and combines the physical properties and cross-sectional area information of the material to calculate its weight, area, and length information. Different materials have different calculation methods. For steel plate materials, the area is mainly calculated; for section steel, the length is mainly calculated; for welded parts such as sliding supports and wind caps, the drawing number is directly read and the total weight of their 3D entities is obtained, and the number is calculated based on the single weight. Secondly, the program integrates all the material information obtained and calculated into a two-dimensional string array according to the requirements of the material list fields (serial number, code, name, quantity, material, single weight, total weight, and remarks). The materials obtained are numbered in the array, and each array element corresponds to a piece of material information. Finally, the coordinates of the drawing frame are obtained, and the coordinates of each text and line are calculated. The program draws all the material information in the array at the corresponding position of the main view drawing frame of the non-standard part, and the material list of the selected non-standard part can be automatically generated, as Figure 7 shown. The program also provides a selection dialog box. By checking the option of all non-standard part components in the workshop, the material lists of all non-standard parts in the workshop can be automatically generated. In addition, if there are modifications and updates to the non-standard parts, running the program again can automatically update the material lists of non-standard parts in the workshop.
[0036] It should be noted that any process or method description shown in the flowchart or described in other ways herein can be understood as representing a module, segment, or part of code including one or more executable instructions for implementing a specific logical function or process. The scope of the preferred embodiments of the present application includes additional implementations, where the functions can be executed in a manner that is not shown or discussed, including in a substantially simultaneous manner or in the reverse order according to the functions involved, which should be understood by those skilled in the technical field to which the embodiments of the present application belong.
[0037] It should be understood that various parts of the present application can be implemented by hardware, software, firmware, or a combination thereof. In the above embodiments, multiple steps or methods can be implemented by software or firmware stored in a memory and executed by a suitable instruction execution system. For example, if implemented by hardware, as in another embodiment, any one or a combination of the following techniques well known in the art can be used: discrete logic circuits with logic gate circuits for implementing logical functions on data signals, application specific integrated circuits with appropriate combinational logic gate circuits, programmable gate arrays (PGAs), field programmable gate arrays (FPGAs), and the like.
[0038] Those of ordinary skill in the art can understand that all or part of the steps carried by the method of implementing the above embodiments can be completed by instructing relevant hardware through a program, and the program can be stored in a computer-readable storage medium. When the program is executed, it includes one or a combination of the steps of the method embodiments.
[0039] In addition, each functional unit in various embodiments of the present application can be integrated into a processing module, or each unit can exist physically alone, or two or more units can be integrated into one module. The above integrated module can be implemented in the form of hardware or in the form of a software functional module. When the above integrated module is implemented in the form of a software functional module and sold or used as an independent product, it can also be stored in a computer-readable storage medium.
[0040] The above-mentioned storage medium can be a read-only memory, a magnetic disk, an optical disc, or the like.
[0041] The above are only the preferred embodiments of the present invention. It should be noted that for those of ordinary skill in the art, without departing from the principle of the present invention, several improvements and modifications can be made, and these improvements and modifications should also be regarded as the protection scope of the present invention.
Claims
1. A method for automatically generating a material list of non-standard parts in a workshop using Revit, characterized in that, It includes the following steps: S1: Check the non-standard parts generated by the user using component functions in the workshop project: Whether there is a missing material assignment for the non-standard parts or the material name does not conform to the agreement. If so, prompt the user to return and modify; In the workshop project, each non-standard part family created by the user is loaded. The non-standard parts in each non-standard part family are assigned a material name, and the material name contains material classification, material specifications, and material codes; S2: Check whether the three-dimensional entity feature dimensions in the non-standard part family match the corresponding material name in the workshop project; if they do not match, prompt the user to return and modify; S3: Obtain the set of material names of all non-standard parts in the workshop project and the volume of the corresponding entities, and generate a material list based on this.
2. The method for automatically generating a non-standard part material list of a workshop using Revit according to claim 1, characterized in that Each part in the material name is separated by "_" to achieve the recognition and reading of each part's content.
3. A method for automatically generating a non-standard part material list of a workshop using Revit according to claim 1, characterized in that, The method for checking whether the three-dimensional entity feature dimensions match the corresponding material name is to analyze the information of the geometric surfaces in the three-dimensional entity, classify and calculate according to the statistical method of the three-dimensional entity and the type of geometric surfaces, obtain the feature dimensions of a single three-dimensional entity after comparing the calculation results, and make an equal value judgment between the feature dimensions and the material specifications in the material name assigned to the three-dimensional entity.
4. A method for automatically generating a non-standard part material list in a workshop using Revit according to claim 1, characterized in that In step S3, when generating the material list, if the non-standard part contains a nested standard equipment family adjacent to it, the material of the standard equipment nested family is automatically excluded.
5. A method for automatically generating a non-standard part material list in a workshop using Revit according to claim 1, characterized in that, The fields of the material list include: serial number, code, name, quantity, material, single weight, total weight, and remarks; among them, the code field is the standard code that the material conforms to, the name field is the specification, area, or length of the material, and the material field is the material code.
6. A computer program product, comprising a computer program, characterized in that, When the computer program is executed by a processor, it implements the method described in any one of claims 1 to 5.