Cable drawing method based on Revit secondary development

Through the cable drawing method developed by Revit secondary, the cable path is automatically generated and cable parameters are added, which solves the problems of cumbersome and errors in cable layout in Revit, improves the efficiency and accuracy of cable layout, and provides an accurate basis for construction.

CN120277850APending Publication Date: 2025-07-08ELECTRICAL SERVICE & ELECTRIFICATION ENG
View PDF 6 Cites 0 Cited by

Patent Information

Application Number
CN202510418281.0
Authority / Receiving Office
CN · China
Patent Type
Applications(China)
Current Assignee / Owner
Filing Date
2025-04-03
Publication Date
2025-07-08

AI Technical Summary

Technical Problem

The existing Revit software lacks tools to arrange cables in batches. Manually drawing cables are cumbersome and prone to errors, making it difficult to meet design specifications and construction requirements.

Method used

Through the method based on Revit secondary development, the cable path is drawn, the starting point and end point are set, the cable path is automatically generated and the document table is automatically generated, and the cable model and electrical parameters are added using the cable template and attributes.

Benefits of technology

Improve the efficiency and accuracy of cable layout, reduce human errors, and the generated document forms provide an accurate basis for construction and improve the quality of the BIM model.

✦ Generated by Eureka AI based on patent content.

Smart Images

  • Figure CN120277850A_ABST
    Figure CN120277850A_ABST
Patent Text Reader

Abstract

The invention discloses a cable drawing method based on Revit secondary development. The cable drawing method comprises the following steps: step 1, drawing a cable path; step 2, determining a starting point and an ending point of a cable, clicking a first section of cable bridge on the drawn cable bridge to determine the starting point of the cable, and clicking a last section of cable bridge to determine the ending point of the cable; step 3, path determination: frame-selecting all cable bridges, and selecting the path of the cable to be laid in the popped path list; step 4, cable sample plate drawing: selecting a first section of cable bridge as a sample plate carrier, drawing a to-be-generated cable sample plate on the sample plate carrier, and adding cable models and electrical parameters in attributes; and 5, automatically generating a document table. According to the method, the problem that cables cannot be arranged in batches in revit can be solved, the cable arrangement efficiency is remarkably improved, the design time is saved, human errors are reduced, and the quality of the whole BIM model is improved.
Need to check novelty before this filing date? Find Prior Art

Description

Technical Field

[0001] The present invention relates to the technical field of cable drawing methods in Revit software, and particularly relates to a cable drawing method based on Revit secondary development. Background Art

[0002] In building electrical design, the layout of cables is an important and cumbersome task. There is no dedicated tool for batch cable layout in Revit. Although straight conductors can be obtained through some methods (such as inserting vertices at the chamfers of chamfered conductors or deleting all vertices of the conductors), the operations are relatively cumbersome and require the operator to be highly proficient in the software. The traditional manual cable drawing method is inefficient, error-prone, and it is difficult to ensure that the cable layout in the cable tray meets the design specifications and actual construction requirements. With the wide application of BIM technology in the construction industry, there is an urgent need for a method to automatically generate and draw cables along cable trays in Revit models. Summary of the Invention

[0003] The purpose of the present invention is to provide a cable drawing method based on Revit secondary development.

[0004] To achieve the above purpose, the present invention adopts the following technical solutions: A cable drawing method based on Revit secondary development, including the following steps: Step 1, draw the cable path, draw a cable tray in the Revit project interface to form a cable path; Step 2, determine the starting point and ending point of the cable. On the drawn cable tray, click the first section of the cable tray to set it as the starting point of the cable, and click the last section of the cable tray to set it as the ending point of the cable; Step 3, path determination. First, select all the cable trays by means of a marquee selection, and then select the path for the cable to be laid in the pop-up path list; Step 4, cable template drawing. Select the first section of the cable tray set as the starting point in Step 2 as the template carrier, draw the cable template to be generated on the template carrier, and add the cable model and electrical parameters in the properties; Step 5, automatically generate a document table. After Step 4 is completed, automatically generate cables according to the path selected in Step 3, and generate a document table corresponding to the cables.

[0005] Preferably, after selecting all the cable trays in Step 3, the system automatically pops up all the paths from the starting point to the ending point and numbers them in sequence.

[0006] Preferably, the format of the document table is *.xlsx.

[0007] In the present invention, a cable path is formed according to the drawn cable tray, avoiding the cumbersome operation of manually drawing the path. By setting the starting point and the ending point, all possible cable paths can be automatically generated, significantly improving the efficiency of cable layout, saving design time, reducing human errors, and enhancing the accuracy and rationality of cable layout.

[0008] After selecting different cable paths and cable templates, the corresponding cable tray will change color according to the selected cable template, facilitating manual verification and viewing.

[0009] The automatically generated cables have better coordination with the cable tray or other building components, contributing to improving the quality of the entire BIM model. The automatically generated document table can be used as a cable laying report, providing an accurate basis for project budgeting and construction. Brief Description of the Drawings

[0010] Figure 1 It is a schematic flow diagram of the drawing method of the present invention; Figure 2 It is a schematic diagram of the position of the cable automatic layout plug-in in the Revit software of the present invention; Figure 3 It is a schematic diagram of the cable tray drawn in Step 1 of the present invention; Figure 4 It is a schematic diagram of the starting point and ending point setting state in Step 2 of the present invention; Figure 5 It is a schematic diagram of path determination in Step 3 of the present invention; Figure 6 It is a schematic diagram of drawing a cable template on a template carrier in Step 4 of the present invention; Figure 7 It is a schematic diagram of automatic cable generation in Step 5 of the present invention; Figure 8 It is a schematic diagram of automatically generating a document table in Step 5 of the present invention; Detailed Embodiment

[0011] The following further describes the present invention with reference to the accompanying drawings: As Figures 1 to 8 shown, a cable drawing method based on Revit secondary development includes the following steps: Step 1, draw a cable path. Draw a cable tray in the Revit project interface to form a cable path.

[0012] Step 2, determine the starting point and ending point of the cable. On the drawn cable tray, click the first section of the cable tray to set it as the starting point of the cable, and click the last section of the cable tray to set it as the ending point of the cable; of course, according to actual needs, other sections of the cable tray can also be selected as the starting point or the ending point.

[0013] Step 3: Path determination. First, select all cable trays, and then select the path for the cable to be laid in the pop-up path list. After selecting all cable trays, the system will automatically pop up all paths from the starting point to the ending point and number them in sequence.

[0014] Step 4: Cable template drawing. Select the first section of the cable tray set as the starting point in Step 2 as the template carrier, draw the cable template to be generated on the template carrier, and add the cable model and electrical parameters in the attributes.

[0015] Step 5: Automatically generate a document table. After Step 4 is completed, cables will be automatically generated according to the path selected in Step 3, and a document table corresponding to the cables will be generated. The format of this document table is *.xlsx. Specific embodiments

[0016] (1) Open the Revit shortcut on the desktop.

[0017] (2) In the Revit project interface, click the cable automatic layout plug-in button, such as the icon in the upper right square of Figure 2 to open the plug-in.

[0018] (3) In the Revit project interface, draw cable trays in the Revit project interface to form a cable path. The cable trays are shown in the drawing area of Figure 3

[0019] (4) On the drawn cable trays, click the first section of the cable tray to set it as the starting point of the cable, and click the last section of the cable tray to set it as the ending point of the cable. In Figure 4 the starting point of the cable is circled by the upper left rectangular frame, and the ending point of the cable is circled by the lower right rectangular frame.

[0020] (5) First, select all cable trays. The selected cable trays will appear blue. Select the path for the cable to be laid in the pop-up path list. After selecting the path for the cable to be laid, the corresponding cable trays will appear blue. After selecting all cable trays, the system will automatically pop up all paths from the starting point to the ending point and number them in sequence. As shown in Figure 5

[0021] (6) Select the first section of the cable tray set as the starting point in Step 2 as the template carrier, draw the cable template to be generated on the template carrier, and add the cable model and electrical parameters in the attributes. Of course, any section of the cable tray can also be selected as the template carrier. In this embodiment, a shorter section of the cable tray is selected as the template carrier, as shown in Figure 6 After drawing is completed, click the "Finish" button to generate cables according to the selected path, as shown in Figure 7As shown, automatically generate a document table corresponding to the generated cable.

[0022] The above embodiments are only several illustrations of the concept and implementation of the present invention, and do not limit it. Under the concept of the present invention, technical solutions without substantial transformation are still within the protection scope.

Claims

1. A cable drawing method based on secondary development of Revit, characterized in that: The drawing method includes the following steps: Step 1, draw the cable path. Draw a cable tray in the Revit project interface to form the cable path; Step 2, determine the starting point and ending point of the cable. On the drawn cable tray, click on the first section of the cable tray to set it as the starting point of the cable, and click on the last section of the cable tray to set it as the ending point of the cable; Step 3, path determination. First, select all the cable trays by marquee selection, and then select the path for the cable to be laid in the pop-up path list; Step 4, cable template drawing. Select the first section of the cable tray set as the starting point in Step 2 as the template carrier, draw the cable template to be generated on the template carrier, and add the cable model and electrical parameters in the properties; Step 5, automatically generate a document table. After Step 4 is completed, automatically generate cables according to the path selected in Step 3, and generate a document table corresponding to the cables.

2. The cable drawing method based on Revit secondary development according to claim 1, wherein: In Step 3, after selecting all the cable trays by marquee selection, the system automatically pops up all the paths from the starting point to the ending point and numbers them in sequence.

3. The cable drawing method based on Revit secondary development according to claim 1 or 2, characterized in that: The format of the document table is *.xlsx.

Citation Information

Patent Citations

  • Processing method and system for cable laying modeling and storage medium

    CN111400899A

  • Automatic cable laying method and storage medium

    CN112332306A

  • BIM cable bridge intelligent wiring method based on inventory table

    CN112968398A

  • Automatic cable arrangement method based on Dynamo

    CN114154282A

  • Hydropower station 500KV cable design modeling method based on Revit secondary development

    CN117150662A