Hello all, I have some issues continuing the script, probably some of you knows how to solve the issue.
First of all I have a very simple Excel sheet, please check the image below:
All I need to do is to match those values with the associated categories and write them into the family inside Revit.
I have found this solution to both read the Excel file data and read the all the elements I need.
How should I match the Excel data to the element of categories? I tried list, map, filter, etc but no solution at this point.
Thanks in advance!
Kulkul
2
1 Like
hello,
use block List.DropItems with amount 1, to remove first row from imported excel data, to remove " category " word i mean,
then sort both list ( from excel one and from revit one) by category , it should be work with you
1 Like
Thank you @Kulkul for the info! I will try my best to solve the issue
Thanks @khuzaimah.ElecEng the drop Item is awesome!
Now I am trying to sort the lists, i’ll let you know
Sometimes I can’t see the forest for the trees!! xD
The solution was right there and I didn’t see it, anyway I solved the issue all I needed to do is to connect all the data to the SET PARAM BY NAME
Thanks guys for helping me out, have a great day!