Wall dimensions without opening

Hi all,
I prepared a dynamo script( bellow attached snip) for wall placing dimension with opening, its okay work properly.


Now I want only wall dimension without opening.
Please suggest to prepare this one.

N.B- Red cloud dimension are gendered through dynamo script .Right now I want blue cloud dimension in dynamo script.

What happens if you just use the Vertical Edges output instead of all the references?

Thanks @Bjorn_Keulemans1
Same results are coming if I use vertical edges instead of all the references.
See the below attached snip.

If you have any other suggestion let me know.

Thanks again.

Hi @robert12546358,

You can easily remove the unnecessary edges/references like this :


Thank You @Alban_de_Chasteigner :slightly_smiling_face: :slightly_smiling_face: :slightly_smiling_face: :champagne: :champagne: :champagne:

also, in my experience, index 0 and 1 are the outer references/edges. the lists are organized by the order in which they are created.

bonus tip: if you want to sort them from left to right, instead of chronologicaly, get the start points from all edges, project them on the locationline, use the Point.SortPointsAlongCurve node and use the indices on the List.GetItemAtIndex node

2 Likes