Transfer multiple parameters between multiple objects

Hi,

I am trying to transfer multiple parameters between multiple objects.
I have the “real” dynamo script in a closed IT environment, so I can’t share that one. But I have made a downsclaed replica. In the real one there are about 20+ parameters that I need to transfer.

It does work with this simplified script, where I select one object at a time:

That kinda takes forever to go through all the objects I need to transfer the parameters for. So I tried to edit the script so that I can select multiple elements and transfer the parameters for all the selected elements at the same time, like so:

I doesn’t really get the new script to work though. Any ideas?
Might even be a much better workflow to get this working.

The tricky part is that I need to get the exact order of the objects, so that parameters from object 1A goes to object 1B, and parameters from object 2A goes to object 2B, kinda like this:


That’s a really simplified illustration of the problem. In reality there are an insane amount of objects to witch I need to implement this.

I thought about moving the parameters through schedules (excel import/export), but that way I can’t keep track of the objects, so that I ensure that the right value/parameters get transferred to corresponding object to receive the parameters. The input/values of the parameters varries a lot between the objects.

Thansk,

Hi @L.Jac ,

Set the lacing of the Element.SetParameterByName node to @L1, @L2 and @L2 respectively.

Hi,

Should have been said in the original post, I am a beginner with Dynamo, hence my knowledge is limited :).

Not really sure what you refer to? How do I set the lacing?

I sorted up the script and made some clearifications in it.

The “Status”-parameter is to get a verification that the parameters for the selected objects (both the objects from which the parameter is copdied, and also for the objects that recieves the parameter value) has been transfered, so that i can filter and visualize what has been done and not.

Right Click the small > on each input and check use levels, from there can you set list levels.

Ah, sweet! Thanks!

I changed the levels according to below:

The result ended up like this:
Schedule

The Comments and Mark from object “1A” should be copied to object “1B”, and same for “2A” to “2B”. As for now, the Comments for object “1A” transfers to “1B” (Correct), but the Mark value from “1B” goes to “2A”. And nothing transfers to “2B”… Did I put the lacing wrong?

End reslut should be according to:
Schedule_2

The starting conditions are:
Schedule_start

EDIT:
I edited the post, since i managed to mix up the objects nummer :). I think you got the point either way…

If someone else is looking to do the same thing, I solved according to below: