Hi,
I’m working on a Dynamo script to automatically place dimensions from structural columns to the closest grid lines. I’ve successfully found the closest grids and the preview lines show correctly in Dynamo, but the Dimension.ByReferences
node returns null
, and no dimensions are placed.
Here’s what I’ve done:
- I’m collecting columns and grids using
All Elements of Category
. - I calculate the closest grid to each column.
- The lines are visualized correctly in Dynamo’s background preview.
- The node outputs
null
, and no dimensions are created.
What I need help with:
- Can someone help me find where the error might be?
- Are there common mistakes that cause
Dimension.ByReferences
to fail silently like this?
And any good practices when doing dimensions in dynamo
Thank you