How to Use Adaptation and Parameterization to Batch Control the Splicing of Tunnel Segments in Revit
Modeling tunnels often presents the challenge of staggered splicing of tunnel segments. Below is a brief guide on using adaptive and parametric techniques to efficiently control the batch splicing of tunnel segments.
1. Begin by creating a tunnel segment model with a single ring segment length of 1500 mm.
2. In the family environment of the adaptive metric standard model, add two adaptive points. Set the instance property of these points to “Subject (xyz)”. Then, dimension the plane distance between points 1 and 2, assigning this measurement to a report parameter named L, as illustrated below.
3. Select the horizontal plane where point 2 is located as the work plane. Add a reference point B at point 2, and adjust its offset to raise it by a certain height, as shown in the figure. Drag both points to verify that the reference point moves accordingly, confirming the placement is correct.
4. Select reference point B and link its rotation angle to a family instance parameter A, as demonstrated.
5. Create a new instance integer parameter N. Use the following formula to control A based on parameters L and N:
if(L = 1500 mm, 78.75°, if(N > L / 3000 mm, 78.75°, 102.5°))
Because staggered assembly requires grouping two segments together (length 2 × 1500 = 3000 mm), an integer parameter N calculates the number of segments within a certain length. Conditional statements then control the relationship between A, L, and N, ensuring that odd and even segments are staggered and properly spliced. The rotation angles used here are 78.75° and 105.5°.
6. Load the pipe segment model into the adaptive metric standard model family template. Set the horizontal plane where point B resides as the work plane, and place the pipe segment model accordingly. Moving point 2 will cause the pipe segment model to rotate periodically in sync with point 2’s movement, as shown.
7. Load the pre-made adaptive family into the project environment. First, place a reference point and a curve. Then, use the segmentation path to create the tunnel’s centerline curve, setting each segmented curve length to 1500 mm, which corresponds to the length of a single ring pipe segment, as depicted.
8. Sequentially place the two adaptive points of the loaded adaptive family onto reference point 1 and the nodes along the segmentation curve. Perform batch processing to generate the tunnel model with staggered splicing, as illustrated.
By leveraging adaptation and parameterization, you can create many complex models. Mastery of relevant formulas and commands is essential to fully utilize these techniques.
【 Related Skills Search 】
How to Use Adaptive Families to Create Rectangular Seamless Surface Curtain Wall Panels in Revit















Must log in before commenting!
Sign Up