Please let me pick you clever people’s brains!
I’m currently trying to make a graph that takes a CAD structural drawing and generates beams with the correct type.
So far I have got the graph to generate the correct lines for the beam locations from rectangles which can be used for the StructuralFraming.BeamByCurve node.
Now, as these original lines drawn in autocad are rectangles around columns, there is a space between the lines where the columns would be. Please see below image representing the condition. The left side is the curves I have in dynamo at the moment, and the right is what I would like it to be. Ideally the beams will be drawn from/to the top point of the columns in revit.
I am stumped on how to solve this, how can I extend the lines so that each line represents a beam, going from start point to end point and vice versa? I am having trouble figuring out how to define which lines have to extend to which point, and how to go about applying it across all lines.
The list of lines are currently generated by the Line.ByBestFitThroughPoints node.
I’m pretty new to Dynamo and programming in general, my experience is about a week of playing around with it.
Your help is greatly appreciated!