Update parameters base on ID use excel data

dynamo

#1

I have extracted element IDs from Critical Path and created a excel list. And later I am add some information in this excel.

Now I try to add this new information in my Revit models as base in element ID. I tried, but I lost way when I am trying to link this information in Revit through Element ID. And one more think, is this any way we add multiple category in one NODE.

Thanks,


#2

Hi there,

At first glance, you could use SelectByElementId.

And then set the parameter by name.

Cheers

Manel


#3

Hi Manel,
Thanks.

Can you please send me the link where I can download this NODE type. I have Archi-lab node, but i am not able to find this NODE.

PN


#4

I’m not sure, but I think it is in the latest Archi-lab_Grimshaw package.

Do you have the latest?

Cheers

Manel


#5

#6

Hi all,

Still problem not able to generate xls information inside revit elements.

Thanks,


#7

Could you explain a little bit more what’s the problem?

Cheers

Manel


#8

Thanks Manel,

I am not able to link the xls data with revit ID. Moreover if we can able to create a script, which filter those wall ID and give us shorted out Wall ID then will use this data to “Element.SetParameterByName”.
Note:- In excel I have Wall And Door Both ID.
please check the attached reference.

PN.


#9

use ElementSelector.ById instead of ElementSelector.ByUniqueId as given in this example


#10

Can this old topic help you?


#11

Here you have all the options.

If you get a number from your excel file, then use the second one.

If you get a string from your excel file, then use the third one.

cheers

Manel


#12

Dear all,

Hope you all understand my problem. please check the attached files.

Thanks,


#13

If I have time before, I could look for simplify a little bit it, but at least, now it is working.

Cheers

Manel


#14

Hi,

I got error again.

PN


#15

Could you add a watch node before String from object and Split.String node?

Just guessing, Maybe you have to change “,” for “.”

Manel


#16

hi

replace this

with this

so math.round is the only node needed here,
from there go to Select.ByEelementId


#17

Thank you all for responses, this forum is awesome.
PN