Hello everyone, I am creating a beam from a CAD file, after inserting 2 straight lines of the beam, I created 4 points, 2 starting points and 2 ending points, I want to determine 2 short edges created by 4 points of a beam and get the coordinates of the midpoint of the 2 short edges and then connect them into 1 axis of the beam. I don’t know if that’s possible, I hope everyone can help, thank you everyone for reading the article.
Thanks for your reply, could you please see the photo below?
Curve.PointAtParameter > List.Flatten > Line.ByBestFitThroughPoints
arhh if i understand
i would first pair these lines up there are parallel, and again by distance, create a surface by loft and then use isolines at 0,5
Thank you very much, I will try your way to see the results.
thats should the group line parallel node from genius loci handle…have you tried ?
Thank you very much, I will try your way.
I tried your way, the result is great, thanks again for helping me
yeah as i always say many things can go wrong when work with cad in revit…but in the end its just about sorting :)…here is a post there probably could give inspiration…Create Beams From CAD works only perpenticular geometry - #24 by arincakkin, and there should many other examples here in the forum, where you can see how many things there can go wrong, and we need sort deeper or another way,depends, so play around with it
![]()
I am using RV 2023, I tried to solve the problem but it is really stuck
yeps a lot can go wrong
try share you cad and can take a look next week, im on my way to copenhell, and there is not so much dynamo
;)…but sometimes i have recived some cad files where there are so messy, so the time i put in it cant match the time, if the cadfolks just create centerlines on own layers…
S-012-001_Structure plan.dwg (376.0 KB)
This is my CAD file.










