Dimension Beam to Level in Elevation/Section

My aim is to generate dimensions in elevation/section from beams to levels but i get the following warning.
See below simple script.

Input in Revit

Result I seek

Many thanks

Hi @simoneavellini,

I advise you to use the reference plane of your family of beams as one of the two references of the dimension. (FamilyInstance Reference Plane node)

However, the reference plane must be defined as a Reference in your family.

Dimension Beam.dyn (16.3 KB)


Thank you very much for your help, it does work.

The only little setback is that your Dimension ByReferences node creates a brand new dimension every time I run the script, unlike the OOTB Dimension.ByElements.
Is there any way to fix this?

I was also trying to use the OOTB Dimension Node feeding it with the Reference plane but I was not successful… Any further hints?

Food for thoughts: Using the script I posted am able to add dimensions form Beams to Grid…not sure why it works for grids but not for levels. Suggestions welcome.


This behaviour is called Element binding : Element Binding in Revit
I will look if it is of interest to integrate it into my custom node.

For the other questions about the OOTB * Dimension.ByElement * node, I don’t know the details of how it works and these limitations.
The node code must be on the Dynamo github.