Method for establishing t-beam transverse reinforcement based on dynamo and revit
By combining Dynamo and Revit, automatic parametric modeling of transverse reinforcement in T-beams was achieved, solving the problem of creating 3D reinforcement models in the Revit platform, improving modeling efficiency and ease of operation for engineers, and simplifying data exchange and model reuse.
Patent Information
- Application Number
- CN202210968091.2
- Authority / Receiving Office
- CN · China
- Patent Type
- Patents(China)
- Current Assignee / Owner
- Filing Date
- 2022-08-12
- Publication Date
- 2025-11-11
- Estimated Expiration
- 2042-08-12
AI Technical Summary
In existing technologies, the Revit platform lacks suitable software and modeling methods for creating 3D reinforcement models for T-beam projects. Complex and varied transverse reinforcement models are difficult to implement, and C# programming is difficult to learn, with an unfriendly programming interface that is hard for engineers to master.
The method combines Dynamo and Revit, using node programming to replace code writing and automatically parametric modeling. This includes steps such as creating the main model of the T-beam structure, determining the rebar positioning lines, drawing the rebar shape, setting visibility, importing rebar profile families, generating PolyCurve, and setting rebar styles, thus achieving automated modeling.
It improves modeling efficiency, reduces programming difficulty, makes it easy for engineers without programming experience to operate, simplifies the data exchange process, improves model reusability and compatibility, and reduces manual modeling steps.
Smart Images

Figure CN115186364B_ABST
Abstract
Description
Technical Field
[0001] This invention relates to the field of T-beam BIM technology and visual programming design technology, and more specifically, to a method for creating transverse reinforcement of T-beams based on Dynamo and Revit. Background Technology
[0002] In recent years, the application of BIM technology in T-beam engineering has entered a stage of rapid development. However, at present, it is still necessary to manually create three-dimensional reinforcement models in the Revit platform. The lack of suitable software and modeling methods, as well as the complex and ever-changing transverse reinforcement models, seriously limit the in-depth application of BIM technology in T-beam technology.
[0003] Although Revit officially provides a Revit Software Development Kit (SDK) containing reference documentation, API user manuals, and sample files, and the API manual provides three development languages—C#, C++, and VB—with C# being the most widely used, using C# to develop Revit reinforcement modeling programs is more difficult to learn compared to Dynamo. It requires mastering C# syntax, familiarizing oneself with the Revit SDK user manual, downloading the compiler, and performing extensive configuration and referencing operations before one can begin programming. Furthermore, the programming interface is presented in code form, which can be difficult to understand, making it challenging for engineers without programming experience to get started. Summary of the Invention
[0004] To overcome the shortcomings of the existing technologies, this invention provides a method for creating transverse reinforcement of T-beams based on Dynamo and Revit. Dynamo can be opened directly within Revit software, eliminating the need for extensive code compilation and environment configuration. By using nodes instead of code, programs can be written directly, enabling automatic parametric modeling and significantly improving modeling efficiency, thereby solving the problem of difficulty in modeling transverse reinforcement of T-beams.
[0005] To solve the above-mentioned technical problems, the technical solution adopted by the present invention is as follows:
[0006] The method for creating transverse reinforcement of T-beams based on Dynamo and Revit includes the following steps:
[0007] S1. Establish the main model of the T-beam structure as the main attachment point for the reinforcing bars;
[0008] S2. Based on the thickness of the protective layer and the diameter of the reinforcing bars, determine the positioning lines of the transverse reinforcing bars within the outline of the main structure of the beam segment.
[0009] S3. Draw the shape of the transverse reinforcing bars using model lines according to the reinforcing bar positioning lines;
[0010] S4. Create a parameter in Revit of type "Yes / No" and name it after the rebar number;
[0011] S5. Click on the rebar model line and bind the "Yes / No" type parameter of the corresponding rebar number to the visibility of the rebar model line to complete the visibility settings of the horizontal rebar.
[0012] S6. Import the rebar profile family into Dynamo, create a new Code Block, input the number of rebars and the distances from the rebars to the start and end points of the beam segment, and the program will read the position of each rebar.
[0013] S7. Enter the corresponding rebar number name in the family type name, and the program will complete the reading of the rebar number name;
[0014] S8. In the “Select Model Elements” node, select the generated steel reinforcement auxiliary profile family, connect it to the “element” input terminal in the “Element.SetParameterByName” node, create a new “Code Block” node, enter the “type”, and connect it to the “parameterName” input terminal in the “Element.SetParameterByName” node;
[0015] S9. Input the rebar number name into the "FamilyType.ByName" node, connect it to the "value" input terminal of the "Element.SetParameterByName" node, and modify the type parameter of the rebar auxiliary profile family;
[0016] S10. Connect the modified rebar elements to the "PolyCurve.ByjoinedCurves" node, and combine the extracted rebar lines into a PolyCurve to form a continuous line;
[0017] S11. Load the "Dynamo Rebar" custom node, select the T-beam main structure through the "Select Model Element.Id" node, and connect it to the input of the "Code Block" node;
[0018] S12. Select the rebar style through the "Rebar Style" node, set the rebar hook direction through the "rebar hook orientation" node, set the rebar hook type through the "rebar hook Type" node, set the rebar grade through the "Rebar BarType" node, extract the vector perpendicular to each rebar from the "PolyCurve" node through the "Curve.Normal" node, and input the above parameters into the input of the "Code Block" node.
[0019] S13. Run Dynamo to generate the steel reinforcement model in the 3D view;
[0020] S14. After the process is complete, close the Dynamo program.
[0021] In step S1, a beam segment cross-sectional profile family is established according to the engineering design drawings. The profile family is placed at the start and end points of the T-beam and the positions where the cross-sectional dimensions change. The T-beam three-dimensional curve is imported. The three-dimensional curve is used as the lofting path and the profile family is used as the fusion profile. The T-beam structural model is generated through the lofting fusion command. In the family category and family parameters, "Can attach the steel bars to the main body" is checked, and the T-beam material is set to "Concrete - On-site poured concrete".
[0022] In step S2, the shape, diameter and length of the reinforcing bars are determined according to the detailed drawing of the reinforcing bars. Within the cross-sectional contour family of the beam segment structure, a reference plane is drawn inward with an offset distance of "protective layer thickness + reinforcing bar radius". The offset distance is marked and locked to complete the drawing of the positioning line of the transverse reinforcing bars.
[0023] In step S5, each visibility parameter can only be bound to one rebar.
[0024] In step S13, select all the generated steel bars, and in the View Visibility Status 3D View in the Properties tab, check the Clear View and view it as an entity.
[0025] Compared with the prior art, the beneficial effects of the present invention are as follows:
[0026] Dynamo is easy to use, and its programming interface is presented in the form of nodes. No coding is required, no C# language skills are needed, and there are no tedious steps such as downloading compilers and configuring environments. It is beneficial for engineers without programming experience to get started.
[0027] The results of Dynamo programs can be displayed in real time without switching to Revit to run dynamic link files via external commands, making it convenient for operators to debug programs.
[0028] Manually modifying Revit family file parameters is too tedious and inefficient. Dynamo can be used to call parameter information from an Excel spreadsheet and automatically modify model parameters. Construction text information can also be automatically imported in batches by the Dynamo program, greatly simplifying the data exchange process.
[0029] The Dynamo program can be repeatedly modified during the modeling process, offering excellent reusability and compatibility. When creating transverse reinforcement models for different bridges, simply import the corresponding reinforcement control line outlines and Excel spreadsheets, run the Dynamo program, and a new model will be generated. There is no need to manually create a 3D reinforcement model, thus significantly improving simulation efficiency. It can be reused repeatedly in different bridge projects, allowing the Dynamo program to handle the manual modeling steps and achieving intelligent modeling. Attached Figure Description
[0030] Figure 1 A flowchart for creating a method for transverse reinforcement of bridges using Dynamo and Revit;
[0031] Figure 2 To create a schematic family of profiles for the cross-section of a beam segment structure based on engineering design drawings;
[0032] Figure 3 A schematic diagram of the outline family of the rebar model lines;
[0033] Figure 4 A diagram illustrating the creation of a parameter of type "Yes / No" in Revit;
[0034] Figure 5 This is a schematic diagram showing the binding of visibility parameters to the rebar model lines;
[0035] Figure 6 A schematic diagram of the nodes at the Dynamo input end;
[0036] Figure 7 A schematic diagram of the node for setting the end of a Dynamo rebar;
[0037] Figure 8 This is a schematic diagram of the reinforcing steel model;
[0038] Figure 9 This is a schematic diagram of the solid model of the reinforcing steel bars; Detailed Implementation
[0039] To better understand the above-mentioned objectives, features, and advantages of the present invention, the present invention will be further described in detail below with reference to the accompanying drawings and specific embodiments. It should be noted that, unless otherwise specified, the embodiments and features described in these embodiments can be combined with each other.
[0040] Many specific details are set forth in the following description in order to provide a full understanding of the invention. However, the invention may also be implemented in other ways different from those described herein. Therefore, the scope of protection of the invention is not limited to the specific embodiments disclosed below.
[0041] like Figures 1 to 9 As shown, the method for creating transverse reinforcement of T-beams based on Dynamo and Revit includes the following steps:
[0042] S1. Establish the main model of the T-beam structure as the main attachment point for the reinforcing bars;
[0043] S2. Based on the thickness of the protective layer and the diameter of the reinforcing bars, determine the positioning lines of the transverse reinforcing bars within the outline of the main structure of the beam segment.
[0044] S3. Draw the shape of the transverse reinforcing bars using model lines according to the reinforcing bar positioning lines;
[0045] S4. Create a parameter in Revit of type "Yes / No" and name it after the rebar number;
[0046] S5. Click on the rebar model line and bind the "Yes / No" type parameter of the corresponding rebar number to the visibility of the rebar model line to complete the visibility settings of the horizontal rebar.
[0047] S6. Import the rebar profile family into Dynamo, create a new Code Block, input the number of rebars and the distances from the rebars to the start and end points of the beam segment, and the program will read the position of each rebar.
[0048] S7. Enter the corresponding rebar number name in the family type name, and the program will complete the reading of the rebar number name;
[0049] S8. In the “Select Model Elements” node, select the generated steel reinforcement auxiliary profile family, connect it to the “element” input terminal in the “Element.SetParameterByName” node, create a new “Code Block” node, enter the “type”, and connect it to the “parameterName” input terminal in the “Element.SetParameterByName” node;
[0050] S9. Input the rebar number name into the "FamilyType.ByName" node, connect it to the "value" input terminal in the "Element.SetParameterByName" node, and modify the type parameter of the rebar auxiliary profile family;
[0051] S10. Connect the modified rebar elements to the "PolyCurve.ByjoinedCurves" node, and combine the extracted rebar lines into a PolyCurve to form a continuous line;
[0052] S11. Load the "Dynamo Rebar" custom node, select the T-beam main structure through the "Select Model Element.Id" node, and connect it to the input of the "Code Block" node;
[0053] S12. Select the rebar style through the "Rebar Style" node, set the rebar hook direction through the "rebar hook orientation" node, set the rebar hook type through the "rebar hook Type" node, set the rebar grade through the "Rebar BarType" node, extract the vector perpendicular to each rebar from the "PolyCurve" node through the "Curve.Normal" node, and input the above parameters into the input of the "Code Block" node.
[0054] S13. Run Dynamo to generate the steel reinforcement model in the 3D view;
[0055] S14. After the process is complete, close the Dynamo program.
[0056] Preferably, in step S1, a beam segment cross-sectional profile family is established according to the engineering design drawings. The profile family is placed at the start and end points of the T-beam and at the locations where the cross-sectional dimensions change. The T-beam three-dimensional curve is then imported. The three-dimensional curve is used as the lofting path, and the profile family is used as the fusion profile. The T-beam structural model is generated through the lofting fusion command. In the family category and family parameters, the option "Can attach the steel bars to the main body" is checked, and the T-beam material is set to "Concrete - On-site poured concrete".
[0057] Preferably, in step S2, the shape, diameter and length of the reinforcing bars are determined according to the detailed drawing of the reinforcing bars. Within the cross-sectional outline of the beam segment structure, a reference plane is drawn inward with an offset distance of "protective layer thickness + reinforcing bar radius". The offset distance is marked and locked to complete the drawing of the positioning line of the transverse reinforcing bars.
[0058] Preferably, in step S5, each visibility parameter can only be bound to one rebar.
[0059] Preferably, in step S13, all generated steel bars are selected, and in the View Visibility Status 3D View in the Properties tab, a clear view is selected and viewed as a solid.
[0060] The above description only illustrates the preferred embodiments of the present invention. However, the present invention is not limited to the above embodiments. Within the scope of knowledge possessed by those skilled in the art, various changes can be made without departing from the spirit of the present invention, and all such changes should be included within the protection scope of the present invention.
Claims
1. A method for establishing transverse reinforcement of T-beams based on Dynamo and Revit, characterized in that, Includes the following steps: S1. Establish the main model of the T-beam structure as the main attachment point for the reinforcing bars; S2. Based on the thickness of the protective layer and the diameter of the reinforcing bars, determine the positioning lines of the transverse reinforcing bars within the outline of the main structure of the beam segment. S3. Draw the shape of the transverse reinforcing bars using model lines according to the reinforcing bar positioning lines; S4. Create a parameter in Revit of type "Yes / No" and name it after the rebar number; S5. Click on the rebar model line and bind the "Yes / No" type parameter of the corresponding rebar number to the visibility of the rebar model line to complete the visibility settings of the horizontal rebar. S6. Import the rebar profile family into Dynamo, create a new Code Block, input the number of rebars and the distances from the rebars to the start and end points of the beam segment, and the program will read the position of each rebar. S7. Enter the corresponding rebar number name in the family type name, and the program will complete the reading of the rebar number name; S8. In the "Select Model Elements" node, select the generated reinforcement auxiliary profile family, connect it to the "element" input terminal in the "Element.SetParameterByName" node, create a new "Code Block" node, enter the "type", and connect it to the "parameterName" input terminal in the "Element.SetParameterByName" node; S9. Input the rebar number name into the "FamilyType.ByName" node, connect it to the "value" input terminal of the "Element.SetParameterByName" node, and modify the type parameter of the rebar auxiliary profile family; S10. Connect the modified rebar elements to the "PolyCurve.ByjoinedCurves" node, and combine the extracted rebar lines into a PolyCurve to form a continuous line; S11. Load the "Dynamo Rebar" custom node, select the T-beam main structure through the "Select ModelElement.Id" node, and connect it to the input end of the "Code Block" node; S12. Select the rebar style through the "Rebar Style" node, set the rebar hook direction through the "rebar hook orientation" node, set the rebar hook type through the "rebar hook Type" node, set the rebar grade through the "Rebar Bar Type" node, extract the vector perpendicular to each rebar from the "PolyCurve" node through the "Curve.Normal" node, and input the above parameters into the input of the "Code Block" node. S13. Run Dynamo to generate the steel reinforcement model in the 3D view; S14. After the process is complete, close the Dynamo program.
2. The method for establishing transverse reinforcement of T-beams based on Dynamo and Revit according to claim 1, characterized in that: In step S1, a beam segment cross-sectional profile family is established according to the engineering design drawings. The profile family is placed at the start and end points of the T-beam and the positions where the cross-sectional dimensions change. The T-beam three-dimensional curve is imported. The three-dimensional curve is used as the lofting path and the profile family is used as the fusion profile. The T-beam structural model is generated through the lofting fusion command. In the family category and family parameters, "Can attach the steel bars to the main body" is checked, and the T-beam material is set to "Concrete - On-site poured concrete".
3. The method for establishing transverse reinforcement of T-beams based on Dynamo and Revit according to claim 1, characterized in that: In step S2, the shape, diameter and length of the reinforcing bars are determined according to the detailed drawing of the reinforcing bars. Within the cross-sectional contour family of the beam segment structure, a reference plane is drawn inward with an offset distance of "protective layer thickness + reinforcing bar radius". The offset distance is marked and locked to complete the drawing of the positioning line of the transverse reinforcing bars.
4. The method for establishing transverse reinforcement of T-beams based on Dynamo and Revit according to claim 1, characterized in that: In step S5, each visibility parameter can only be bound to one rebar.
5. The method for establishing transverse reinforcement of T-beams based on Dynamo and Revit according to claim 1, characterized in that: In step S13, select all the generated steel bars, and in the View Visibility Status 3D View in the Properties tab, check the Clear View and view it as an entity.
Citation Information
Patent Citations
BIM method for automatically generating longitudinal bars and side structural steel bars on lower portion of beam
CN110119552A
Computational design method and interface
US20150095881A1