Dynamo script: Automate Lighting Fixture Placement for Revit MEP

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

This Dynamo script (v1.12.13) automates NEC 2023-compliant lighting fixture placement in Revit MEP projects. It supports grid-based and boundary-driven placement, DIALux CSV integration, and ceiling-hosted fixtures, ideal for MEP engineers and BIM coordinators optimizing commercial lighting designs.
  • 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: Automate Lighting Fixture Placement for Revit MEP

This Dynamo script (v1.12.13) automates NEC 2023-compliant lighting fixture placement in Revit MEP projects. It supports grid-based and boundary-driven placement, DIALux CSV integration, and ceiling-hosted fixtures, ideal for MEP engineers and BIM coordinators optimizing commercial lighting designs.

Key Features:

  • Places fixtures in rooms using grid or boundary logic, supporting irregular geometries.
  • Integrates DIALux CSV for precise fixture positioning.
  • Ensures NEC 2023 compliance (e.g., 2.5 ft wall clearance, 1440W circuit limit).
  • Outputs CSV reports with fixture coordinates (mm) and wattage summaries.
  • Generates detailed logs for debugging and compliance verification.

Inputs Required:

  • Element Selection: Rooms (single or list, via Revit or Dynamo node).
  • Naming Conventions: Optional fixture tag prefix (e.g., “LTG_”).
  • Template Application: Lighting fixture family type (e.g., “25W Square”).
  • Geometric Parameters: Grid spacing (10–12 ft) or boundary offset (1 ft).
  • Randomization Controls: None.
  • Color and Material Settings: None.
  • Level or Height Information: Ceiling height or Upper Limit (auto-detected or user-specified).
  • Optional: DIALux CSV path (String node, mm coordinates).

Outputs Generated:

  • Lighting fixtures placed in the Revit model (ceiling-hosted or level-based).
  • CSV report (LightingPlacement_[timestamp].csv) with fixture IDs, coordinates (mm), room names, and types.
  • Log file (LightingPlacementLog_[timestamp].txt) with NEC compliance and debug info.
  • User guide (LightingPlacement_Guide_[timestamp].txt) with setup and troubleshooting.

Instructions:

  1. Open Revit 2023–2025 with rooms, ceilings, and lighting fixture families loaded.
  2. Launch Dynamo 2.17+, install Clockwork and Data-Shapes packages.
  3. Add Python Script node, load Automate_Lighting_Fixture_Placement.py.
  4. Connect inputs: rooms (IN[0]), fixture family type (IN[1]), optional DIALux CSV (IN[2]).
  5. Set active view to 3D or ceiling plan; run the script.
  6. Check Desktop for CSV, log, and guide files; verify fixtures in Revit.

Notes:

  • Ensure rooms have closed boundaries and ceilings (NEC 410.36(A)). Edit boundaries to exclude walls if needed.
  • DIALux CSV requires x, y, z, fixture_type columns (mm). See README for format.
  • Supports 25W LED fixtures by default; adjust wattage via family parameters.
  • 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)
  • Clockwork 2.17.0
  • Data-Shapes 2023.2.103

 


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.