# Excel to Revit push - Missing a step

**URL:** <https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375>\
**Category:** Revit\
**Created:** [March 15, 2017, 4:27pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375 "2017-03-15T16:27:47Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 15, 2017, 4:27pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/1 "2017-03-15T16:27:47Z")

</div>

I am missing a step somewhere on my parameter IMPORT script.

I can get one piece of electrical equipment to push into Revit just fine using the “panel name” and “mains” parameters (see green group) but when I add another one, that item (see pink group) takes over and pushes to ALL of my equipment. I am sure this is due to the “All Elements of Category” node, but there is obviously some other organizing required.

My question is what nodes am I missing to push multiple sets of panel & main parameters? I am trying to push three at a time during beta testing, but this will morph into many more after I figure it out.

Thanks ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/4/14c0e634bef37c1465913be42ca0641e0b8d3256.JPG)

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/c/7c12920178e8b7a7ae04db9f6e10a86c0e42a1c0.png) ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/a/7a4e2a137a8384a196f8d3031fc25ddb0f3a8dab.JPG)

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 15, 2017, 9:04pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/2 "2017-03-15T21:04:59Z")

</div>

@Bill_Mutert…you need after All elements of category node a filter list by boolean mask to filter each element to feed into each of your setparameterbyname node. If no one reply tomorrow i will send you the node setup i am on my tablet and cannot open revit/dynamo to post image of node…

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 16, 2017, 6:22pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/3 "2017-03-16T18:22:25Z")

</div>

@Bill_Mutert  
see sample of filterlistbyboolean and see if this will fix your problem.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/e/d/ed3a625606966fb750e3b45fdc15e97286fd655a.PNG)

hope this helps…please let me know.

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 16, 2017, 7:12pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/4 "2017-03-16T19:12:15Z")

</div>

This workflow seems to be more for isolating a single piece of data, similar to how “get item at index” does. In my screen shots above you will see that I need to push three of everything, not one. I haven’t figured out how to organize my data to push correctly to each of three items that are all under the same category of Electrical Equipment. There is a [Lynda.com](http://Lynda.com) exercise for some shelving that I am trying to reverse engineer.

Thanks

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 16, 2017, 8:05pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/5 "2017-03-16T20:05:07Z")

</div>

@Bill_Mutert  
Yes thats the idea…isolate each category to individual items so you can setparameters to each individual element/category. I use this technique just try to feed your all elements of category output to the element name and to the list on the boolmask…just try it…

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 16, 2017, 8:44pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/6 "2017-03-16T20:44:27Z")

</div>

If I am following you correctly, I need to add the boolean mask to isolate “Panel Name” from my “Mains” parameter before connecting it back into “All Elements of Category” along the lines I have shown in BLUE

![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/8/9/89cd10de023b827cfbf6ad7526461b9750220f1e.JPG)

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 16, 2017, 9:08pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/7 "2017-03-16T21:08:31Z")

</div>

Nope…in your red box All elements of category can you place a watch node and post the image. This is what we are breaking to individual elements. Thanks

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 16, 2017, 9:10pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/8 "2017-03-16T21:10:02Z")

</div>

I meant your red box on your second image at the top

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 16, 2017, 9:41pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/9 "2017-03-16T21:41:54Z")

</div>

Only the names show up in a watch node, I am trying to push TWO parameters at once. NAME and MAINS which is the amperage at each item. When I try to add the second part it fails

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 16, 2017, 9:54pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/10 "2017-03-16T21:54:53Z")

</div>

@Bill_Mutert

See image…can you share files so i can try it?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/f/af47d0ba93b9411d77a74e515158dabcf2a49c49.jpg)

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 16, 2017, 10:38pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/11 "2017-03-16T22:38:03Z")

</div>

[Electrical Data Import.xlsx](https://forum.dynamobim.com/uploads/short-url/x8IL1PVtEkUmo6Dgme6Igq9vYI0.xlsx) (8.8 KB)  
[Parameters\_Excel to Revit.dyn](https://forum.dynamobim.com/uploads/short-url/k58l3fqpQX7so3uf9ZpH6HI9pxo.dyn) (13.7 KB)

Attached is the source file from Excel and the Dynamo graph

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 16, 2017, 11:20pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/12 "2017-03-16T23:20:17Z")

</div>

So far, it seems like I can only push ONE parameter with ONE dynamo graph  
I am sure there is a way to push more than one at a time in the same graph, I just have to figure out the proper node arrangement to do so.

---

<div class="post-metadata">

**Author:** ![Jibz\_Cello](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@Jibz\_Cello](https://forum.dynamobim.com/u/Jibz_Cello)\
**Post date:** [March 17, 2017, 2:36am UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/13 "2017-03-17T02:36:40Z")

</div>

Hi @Bill_Mutert, i think your workflow is missing a process. You need to extract information from your revit family equipment first (for example the panel name or equipment no.) and match it with your excel data before pushing it inside the revit element.  
Because as i have inspected in your graph, you just connected directly the electrical equipment without any condition, hence, any excel info. will just be placed in any equipment regardless of whatever panel name or equipment number it holds.  
 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/5/b/5bced056fc4e7ae4063dd6619bb2a7d15c44dbba.jpg)

You could try and do this way

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/e/0e6cc6442297d3680abd578fe830abe735cb1dba.jpg)  
Number 1 is where you will query the revit element for a name or number or whatever info you want to match it with in the excel file, and then number 2 is where you get the index number of where the matching data from the excel file is.  
Hope this helps. Cheers.

---

<div class="post-metadata">

**Author:** ![Andrew\_Hannell](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/andrew_hannell/32/103315_2.png) [@Andrew\_Hannell](https://forum.dynamobim.com/u/Andrew_Hannell)\
**Post date:** [March 17, 2017, 8:54am UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/14 "2017-03-17T08:54:00Z")

</div>

@Bill_Mutert

This kind of thing is do-able using Excel but painful.  
And likely to fall over if the Excel spreadsheet structure changes ,say an accidental extra column/cell or a string where it is expecting a number.

I suggest taking a look at

> [@Using SQLite instead of Excel](https://forum.dynamobim.com/t/using-sqlite-instead-of-excel/4565):
>
> I have been experimenting with SQLite with Dynamo recently & thought I would share with the group. SQLite is a pretty good & simple option compared to MSSQL or MSAccess. The main benefit as I see it is the data can be well structured & also allows simultaneous reads & writes (plus simple in a standalone file) A significant number of posts on this forum relate to Excel & I think many could be overcome. But I have to admit that the main benefit of Excel is that everyone knows how to use it…! …

In your case, your query would be something like:  
`"select mounting,mains,'short circuit rating' where 'panel name' =" +panelname`

In other words, you are looking up the values of the mounting, mains and short circuit rating columns based on the panel name

Andrew

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 17, 2017, 2:30pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/15 "2017-03-17T14:30:47Z")

</div>

I’ll give it a shot, thanks

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 17, 2017, 2:56pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/16 "2017-03-17T14:56:08Z")

</div>

I did some cleaning and sorting, here is the new BEFORE version to use as a baseline.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/3/5/353dac66ea2e410c45c91643a4cdd3445eb37388.JPG)

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 17, 2017, 2:57pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/17 "2017-03-17T14:57:29Z")

</div>

I will look into it, thanks

---

<div class="post-metadata">

**Author:** ![4bimfercesp](https://avatars.discourse-cdn.com/v4/letter/4/b782af/32.png) [@4bimfercesp](https://forum.dynamobim.com/u/4bimfercesp)\
**Post date:** [March 17, 2017, 11:00pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/18 "2017-03-17T23:00:45Z")

</div>

@Bill_Mutert  
Have you solve your problem do you still want me to show you my solution or you ok no?

---

<div class="post-metadata">

**Author:** ![Jibz\_Cello](https://avatars.discourse-cdn.com/v4/letter/j/6bbea6/32.png) [@Jibz\_Cello](https://forum.dynamobim.com/u/Jibz_Cello)\
**Post date:** [March 18, 2017, 3:29am UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/19 "2017-03-18T03:29:31Z")

</div>

Just to make things clear, are you trying to match 2 conditions (Panel Name & Main parameters) for your electrical equipment to match with your excel data?

---

<div class="post-metadata">

**Author:** ![Bill\_Mutert](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/bill_mutert/32/192965_2.png) [@Bill\_Mutert](https://forum.dynamobim.com/u/Bill_Mutert)\
**Post date:** [March 20, 2017, 2:54pm UTC](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375/20 "2017-03-20T14:54:25Z")

</div>

I am actually hoping for THREE parameters, but so far only one at a time is working. Looks like the panel names have to be LOCKED DOWN and then it might be able to push the other two parameters for MAINS and SHORT CIRCUIT RATING afterwards.

[Next page](https://forum.dynamobim.com/t/excel-to-revit-push-missing-a-step/10375.md?page=2)
