I am trying to assign list values to another list basically. But couldnt figure it out how to implement my code into Dynamo.
For example I am retrieving my #1 List from database and want to write these values to #2 List which is already in the Revit data. In short, I want to update these Revit values ( list #2 ) according to data from my Database ( list #1 ).
In the screen shot below I want to be my #1 List[ 0 ][ 0 ] value to be the new value on #2 List[ 0 ][ 0 ],
The problem is these list values could be hundreds so I have to implement a loop system. And I am stucked here.
Could you give a concrete example of what the list beforehand will look like and what the list afterwards should look like?
Because I don’t understand how and on what basis you want to combine them.
And the list of the values that I want to insert to Revit
So my aim is to make List #2’s [0] “1B-A-K03” into the value of List #1’s [0] “Mahal-1” and so on.
Another example.
I have 198 data in my Revit and also I have same amount of data in my database. But I want to insert my database values into the Revit. All of these 198 data has exactly same number of columns. But doing it by hand would be very long instead of it for loop could solve my issue I think. But couldnt figure it out
no you have’nt, dynamo can read that from one node , just enter the list from 198 element, and the value list from 198 element , just be sure it have the same order,
Are you just trying to replace the value in the list for like a scheduling purpose or do you want to change the parameter on an actual element? Changing just the list is easier to do and would just be a simple replace graph. I can give you an example in a bit.