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.
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.
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:
The starting conditions are:
EDIT:
I edited the post, since i managed to mix up the objects nummer :). I think you got the point either way…