Repository navigation
Expand file tree
/
Copy pathsplit_column.html
More file actions
89 lines (79 loc) · 4.95 KB
/
Copy pathsplit_column.html
File metadata and controls
89 lines (79 loc) · 4.95 KB
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<meta name="viewport" content="width=device-width, initial-scale=1.0" />
<meta name="description" content="This Dynamo script automates the process of splitting existing Structural Columns in a Revit model at multi-story building levels." />
<title>Dynamo/ Split column at levels</title>
<link rel="stylesheet" href="styles.css">
<script src="ap.js" defer></script>
</head>
<body>
<header class="site-header">
<div class="nav-inner">
<a class="brand" href="index.html">Radhakrishnasha</a>
<nav class="main-nav" aria-label="Primary Navigation">
<a href="index.html">Home</a>
<a href="dynamo.html">Dynamo</a>
<a href="families.html">Revit Families</a>
<a href="3dmodel.html">3D Models</a>
<span class="theme-control">
<label class="theme-switch" for="checkbox">Dark Theme</label>
<input type="checkbox" id="checkbox">
</span>
</nav>
</div>
</header>
<main class="container container--narrow">
<header class="page-header">
<span class="badge">Dynamo Script Breakdown</span>
<h1>Split column at levels</h1>
</header>
<section class="content-card">
<p class="body-copy">
This Dynamo script automates the process of splitting existing Structural Columns in a Revit model at multi-story building levels. It identifies existing columns, generates intersection planes based on building story elevations, intersects the columns with these planes, deletes the original columns, and recreates new segmented structural columns using curves and specified column types.
</p>
<img class="showcase-image" src="split column.png" alt="Dynamo graph for splitting columns at levels">
<div class="actions">
<a class="btn btn-primary" href="split column.png" download>Download image</a>
<!--<a class="btn" href="section form scope box.dyn" target="_blank" download>Download Dynamo script</a>-->
<a class="btn" href="Dynamo.html">Dynamo</a>
</div>
<div class="step-list">
<div class="step-item">
<strong>1. Selection & Location of Existing Columns (Top Branch)</strong> Categories & All Elements of Category: Selects the "Structural Columns" category and retrieves all column instances currently in the Revit model.<br>
Elements.Delete & Element.GetActualLocation: Retrieves the actual spatial geometry/location of the structural columns and flags the original elements for deletion once the new split columns are generated.
</div>
<div class="step-item">
<strong>2. Level Filtering & Elevation Extraction (Bottom-Left Branch)</strong> Categories & All Elements of Category (Levels): Pulls all "Levels" from the Revit model.
Element.GetParameterValueByName & List.FilterByBoolMask: Evaluates the <strong>"Building Story"</strong> parameter to filter and keep only the relevant building story levels.<br>
Element.GetParameterValueByName (Elevation) & Math.Round: Extracts the elevation values of the filtered levels and rounds them to get precise vertical heights.
</div>
<div class="step-item">
<strong>3. Plane Generation & Geometry Intersection (Middle Section)</strong> Plane.XY & Plane.Offset: Creates a base horizontal reference plane and offsets it vertically using the rounded level elevation values.<br>
Geometry.Intersect & List.OfRepeatedItem: Intersects the column geometries with the offset building story planes to find the exact splitting points or curves along the height of each column.
</div>
<div class="step-item">
<strong>4. Data Processing via Python (Right-Middle Section)</strong> List.NormalizeDepth: Adjusts and organizes list structures to ensure data consistency after the intersection operation.<br>
Python Script: Processes the intersection outputs and curves to structure them properly for column recreation.
</div>
<div class="step-item">
<strong>5. Recreating Split Columns (Far Right)</strong> List.FirstItem & Structural Column Types: Gathers the required reference levels and selects a specific structural column type (e.g., "300 x 450mm") from the model.<br>
StructuralFraming.ColumnByCurve: Takes the processed curves, levels, and column types to generate and place the new, split structural columns back into the Revit model.
</div>
</div>
</section>
</main>
<footer class="site-footer">
<div class="footer-links">
<a class="footer-pill" href="index.html">Home</a>
<a class="footer-pill" href="Dynamo.html">Dynamo</a>
</div>
<div class="contact-row">
<a href="mailto:radhakrishnasha@gmail.com">mail</a>
<span>•</span>
<a href="http://www.linkedin.com/in/radha-krishna-sha-9a66b524b" target="_blank" rel="noopener noreferrer">Linkedin</a>
</div>
</footer>
</body>
</html>