Update parameters base on ID use excel data

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,

Hi there,

At first glance, you could use SelectByElementId.

And then set the parameter by name.

Cheers

Manel

1 Like

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

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

Do you have the latest?

Cheers

Manel

Hi all,

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

Thanks,

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

Cheers

Manel

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.

ID%20REF

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

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

Dear all,

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

Thanks,

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

Cheers

Manel

Hi,

I got error again.

PN

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

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

Manel

2 Likes

hi

replace this

with this

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

2 Likes

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

1 Like

Can you upload your working skript please? :slight_smile:

1 Like