Dynamo script: Conduit Length Calculator for Revit MEP

Regular price$30.00
/
License
  • Are you a Student? Select the Educational Use.

This Dynamo script (v1.2.0) automates conduit length calculations in Revit MEP projects, generating CSV reports for material takeoffs and cost estimation, ideal for MEP engineers and estimators.
  • Digital Download
  • Revit Version: 2023
  • Dynamo Build: 2.17
  • Created by: Alfonso Davila

Free Products
Our Free Educational Use License is specifically designed for academic purposes. Under this license, RD Studio's free products can be utilized in educational settings, including classroom activities, academic projects, and other learning initiatives. When using a product, you are required to grant full credit to RD Studio, with an active link for online versions. Additionally, if a project using our product is showcased on social media, you must credit RD Studio with an active tag to our profile. Please note that commercial use of these products under this license is strictly prohibited.

Educational Use
Products labeled "Educational Use" are exclusively for student use in academic settings. These products are intended to support educational development and must not be employed for any commercial purposes.

Commercial Use
With the purchase of a Commercial Use License, you are authorized to use the product in commercial projects without the need to attribute RD Studio. However, the standard prohibitions on reproduction, distribution, and resale, as detailed in the "Strictly Forbidden" section, remain applicable.

University Multi-User License
The University Multi-User License is tailored for educational institutions, allowing up to 30 users, including students and teachers, to use our products for academic purposes. This license facilitates the use of our products in educational environments, such as classroom learning, academic research, and student projects. Redistribution or commercial use of these products under this license is not allowed.

Strictly Forbidden
You are not allowed to reproduce, distribute, copy or sell the contents of RD Studio at any circumstances. Products can’t be sold without being part of a bigger project or work combining RD Studio digital products with other graphics, modeling or digital elements. Also, you are not allowed to use products from RD Studio in similar or any competing services.

Zip Folders
To unzip a ZIP folder, right-click to select Extract Here.

How to Install Dynamo Scripts

1. Open Revit
2. From the Manage Tab > Dynamo
3. From Dynamo click File > Open and choose the dyn. file
4. To Run the script click on the Run button

For more information please visit our download and install instructions page.

Revit Dynamo script: Conduit Length Calculator for Revit MEP

This Dynamo script (v1.2.0) automates conduit length calculations in Revit MEP projects, generating CSV reports for material takeoffs and cost estimation, ideal for MEP engineers and estimators. 

Key Features:

  • Calculates lengths for conduits by type and size (diameter).
  • Outputs CSV summaries with total lengths per type/size and project total.
  • Includes debug log for troubleshooting missing parameters.
  • Supports batch processing of all OST_Conduit elements.
  • Rounds lengths to 2 decimal places for clarity.

Inputs Required:

  • Element Selection: None (automatically collects conduits).
  • Naming Conventions: None.
  • Template Application: None.
  • Geometric Parameters: None.
  • Randomization Controls: None.
  • Color and Material Settings: None.
  • Level or Height Information: None.

Outputs Generated:

  • CSV report ([ProjectName]_Conduit_Length_Summary_[timestamp].csv) with conduit type, size (ft), and total length (ft).
  • Debug log ([ProjectName]_Conduit_Length_Summary_[timestamp]_debug.log) with error details.
  • Dynamo output with conduit data and processing messages

Instructions:

  1. Open Revit 2023–2025 with conduits modeled.
  2. Launch Dynamo 2.17+; ensure RevitAPI/RevitServices are available.
  3. Add Python Script node, load Conduit_Length_Calculator.py.
  4. Run the script (no inputs required).
  5. Check Desktop for CSV and debug log; review Dynamo output for errors.

Notes:

  • Ensure conduits have valid type and diameter parameters in Revit.
  • CSV includes “Unknown” for missing data; check debug log for issues.
  • Contact davila.alfonso@gmail.com or https://github.com/DynMEP for support.
  • Single-user license; do not redistribute.

Compatibility: Revit 2023, 2024, 2025

Required Dynamo Packages:

This script contains the following custom nodes, so if don't have the packages please install it before using our script:

  • Dynamo 2.17+
  • IronPython 2.7 or CPython 3
  • RevitAPI (included with Revit)
  • RevitServices (included with Dynamo)

Revit Version: 2023

Dynamo Build: 2.17

Alfonso Davila is a senior electrical engineer with over 20 years of experience in power distribution systems and MEP design. Specializing in Revit MEP and Dynamo automation, he develops NEC-compliant tools to streamline BIM workflows for MEP firms. Proficient in electrical design, load calculations, and NEC compliance, Alfonso ensures safety, efficiency, and compliance. He leads DynMEP Solutions, delivering innovative scripts for Revit users worldwide.