Beam to beam connections

Am trying to achieve beam to beam connections
most of the time my component becomes red and show error some times it works
is it my method issue or the component

beam to beam connections.gh (19.6 KB)

Hi Rajeev, try flattening both the main part and secondary inputs.

Right now the component has grafted inputs and will run multiple times in parallel. Since in many cases you’re inserting multiple connections that apply to the same beam, a previous connection might be modifying the beam while another connection is being inserted. Flattening the inputs will insert them one by one avoiding these kinds of issues.

Cheers,

-b

Once i flatten both main and sec the data match is not accurate so they apply connections to wrong beams
should i duplicate the main part to match the sec for clean connection ?

regards
rajeev

Right yes, that’s exactly what needs to be done.

You would have figured it out already but for the benefit of others here’s what it could look like:

So now the main part branches match the secondary part branches, and only the main parts that actually will get connections are duplicated.