Add Detail Line error

Dimensioning in Revit via the API takes some setup, our current components aren’t equipped to handle many common scenarios.

Here’s a start on Dimensioning a Family to the nearest Horizontal and Vertical Grid. This isn’t going to solve your problem and currently only works for one element with Named References. I’ll tweak it a bit tomorrow to make it a little more friendlier.


Revit-22-dimtoGrid.rvt (1.8 MB)
RiR_AddDim_El-Grid.gh (20.6 KB)

Updated to handle multiple targets and requires the button to be mashed to run.

Note the outlier at the bottom left where the nearest gridline wasn’t perpendicular.