Hi everyone,
I’m working on a Dynamo script for Revit that creates a parametric grid of structural columns and floors. Currently, it generates columns at all grid intersections based on user-defined spacing and counts in the X and Y directions. However, I’d like to make the grid more flexible by allowing users to replace specific columns with walls—for example, replacing columns with a continuous wall spanning between grid points.
Current Workflow:
- Inputs: Number of columns in X/Y, spacing, floor heights, column/floor types.
- Outputs: Grid of columns and associated floors.
Desired Improvement:
Selective Replacement: Replace columns at specific X or Y indices with walls.
Challenges:
- Filtering Grid Points: Identifying which columns to replace based on user-selected indices.
- Wall Creation: Generating walls between points dynamically.
Open to Suggestions:
I’m fully open to restructuring my workflow if needed! For example could a “grid line selector” node help?
Attached: My Parametric_Model.dyn (70.9 KB) file for reference.
I’d greatly appreciate any guidance—whether it’s a node-based solution, DesignScript snippet, or a completely different workflow. Thanks in advance!