DimensionByElement sloped pipes


I am trying to use the node Dimension.ByElements for one grid element and one pipe element. It is working fine for pipes without slopes.

However, a pipe that first has a slope and then goes straight up wont work.
I am only interested to dimension the pipe that goes straight up.

This is the error


If I press Remove Reference it seems like Dynamo has created a dimension but I can not find it.

Appreciate any help!


We had the same issue with slanted columns, revit can`t catch no ortogonal references.

Finaly we created a detail component which got placed by dynamo, than it is possible.



Thanks, that is a possible workaround I will explore!