# Exporting Furniture Count and Manufacturer Name to Excel

**URL:** <https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453>\
**Category:** Revit\
**Tags:** revit, excel\
**Created:** [March 20, 2017, 12:31pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453 "2017-03-20T12:31:35Z")\
**Posts on this page:** 20\
**Page:** 1

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 12:31pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/1 "2017-03-20T12:31:35Z")

</div>

I am working on a script to export Furniture data to excel (and in return import that data back to revit). I am able to export any of the type parameters but the quantity or any instance parameters (Manufacturer Name) export as a blank. I have the strings spelled correctly. Do I need to use a different node to get the instance parameter values? Any ideas of what I am doing wrong?

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/7/6/768a87325fff252a196c9edc205e7639bd153815.png)

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [March 20, 2017, 12:47pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/2 "2017-03-20T12:47:05Z")

</div>

Hi,

Try removing the FamilyInstance.type node and attach the output of the watch node directly to the GetParameterValueByName nodes.

Marcel

---

<div class="post-metadata">

**Author:** ![Jonathan\_Roy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan_roy/32/124546_2.png) [@Jonathan\_Roy](https://forum.dynamobim.com/u/Jonathan_Roy)\
**Post date:** [March 20, 2017, 1:33pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/3 "2017-03-20T13:33:50Z")

</div>

I’d try @Marcel_Rijsmus solution before going further. I’m on the Revit-Excel-Revit adventure myself and that node is what’s different so far.

---

<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 20, 2017, 1:35pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/4 "2017-03-20T13:35:09Z")

</div>

@abutterfield  
count is not a parameter, you need a NODE called COUNT below as an example on how you can do this, there are of course couple of ways to do this.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/3/93faa88dac33ba25669407190279dbbc34539f4c.PNG)

For the manufacture name should just be manufacturer instead? see below.

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

let me know if this works.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Roy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan_roy/32/124546_2.png) [@Jonathan\_Roy](https://forum.dynamobim.com/u/Jonathan_Roy)\
**Post date:** [March 20, 2017, 1:44pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/5 "2017-03-20T13:44:35Z")

</div>

@abutterfield said “I have the strings spelled correctly.” So there was no reason to doubt, but yeah, why not use this parameter? Screen shots are always better for help! 😉

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:02pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/6 "2017-03-20T14:02:20Z")

</div>

When I tried this solution the Count did not show up and the “Manufacturer Name” one showed up as “Element” in the excel column.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/4/a41accbde8889f76da91e412bac729bf41bfca7f.png)

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:05pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/7 "2017-03-20T14:05:51Z")

</div>

I made a instance parameter called “Manufacturer Name” that is linked to a schedule which automatically fills in the Manufacturer Address. When I set this up (years ago) I was only able to do it as in instance parameter. I have not revisited using it as a type parameter recently but it may be something to look into. But that is the reasoning for not using the “Manufacturer” parameter already loaded into the family type.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Roy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan_roy/32/124546_2.png) [@Jonathan\_Roy](https://forum.dynamobim.com/u/Jonathan_Roy)\
**Post date:** [March 20, 2017, 2:08pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/8 "2017-03-20T14:08:59Z")

</div>

@abutterfield did you try @Marcel_Rijsmus suggestion?

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:11pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/9 "2017-03-20T14:11:54Z")

</div>

@4bimferdie.espiritu I was unable to find the node “List.CountOccurences” but found a node called “List.Count”. I tried running the script with that but came up with an error on the List.Transpose which said "List.Transpose operation failed. Unable to cast object of type ‘System.Int32’ to type ‘System.CollectionsIList’.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/2/a2cd534d37e31e4e2c666672279575b34d2f9877.png)

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:14pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/10 "2017-03-20T14:14:07Z")

</div>

@Jonathan_Roy I tried @Marcel_Rijsmus suggestion and the count still showed up as a blank excel column

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/a/b/ab09d82bad159ec93b63576e6fa156f6ecf8829a.png)and the Manufacturer Name showed up in excel saying “Element” in the column

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:15pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/11 "2017-03-20T14:15:10Z")

</div>

@4bimferdie.espiritu in reply to your comment about the Manufacturer Name:  
I made a instance parameter called “Manufacturer Name” that is linked to a schedule which automatically fills in the Manufacturer Address. When I set this up (years ago) I was only able to do it as in instance parameter. I have not revisited using it as a type parameter recently but it may be something to look into. But that is the reasoning for not using the “Manufacturer” parameter already loaded into the family type.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [March 20, 2017, 2:22pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/12 "2017-03-20T14:22:51Z")

</div>

Hi,

You are mixing up Instances and Types in this workflow, try separating them first.

For Instances start with categories and all elements of category.  
For Types start with Element.types and all elements of type.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/b/f/bf61e8f3fcf72ee99f739280cb7514fee616bfc6.png)

Maybe you can direct these two flows to one flow later in the graph  
Marcel

---

<div class="post-metadata">

**Author:** ![Jonathan\_Roy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan_roy/32/124546_2.png) [@Jonathan\_Roy](https://forum.dynamobim.com/u/Jonathan_Roy)\
**Post date:** [March 20, 2017, 2:34pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/13 "2017-03-20T14:34:11Z")

</div>

This is how I isolated the Type parameters

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/d/2d17b7381769555895a76f511c34a481c9e87963.png)

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:35pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/14 "2017-03-20T14:35:05Z")

</div>

@Marcel_Rijsmus I have been using the “Catagories” to “All Elements of Category” to get the type parameters successfully into excel. Though this was not your direct solution, I tried using the “Element Types” to “All Elements of Type” to get the instance parameter and it showed up as a blank column in excel.

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/4/f/4f12cd62b15dfad96b030d9aa95568d76d0d7cc0.png)

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 20, 2017, 2:37pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/15 "2017-03-20T14:37:47Z")

</div>

@Jonathan_Roy Have you had any luck isolating instance parameters. I have been able to work with type parameters fairly easily using something similar to yours. It is the instance parameters that are throwing me for a loop.

---

<div class="post-metadata">

**Author:** ![Jonathan\_Roy](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/jonathan_roy/32/124546_2.png) [@Jonathan\_Roy](https://forum.dynamobim.com/u/Jonathan_Roy)\
**Post date:** [March 20, 2017, 2:56pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/16 "2017-03-20T14:56:20Z")

</div>

@abutterfield I hope I’m in the direction your looking for!

**-Changing the Instance parameter in all Type families**

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/2/62793ca9947150800db2faaea273b3b949950c01.png)

**-Changing the instance parameter in one selected family**

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/f/9f287bb7fd9086a0cfd6fba21e01223b541a3972.png)

**- Demo**  
[https://forum.dynamobim.com/uploads/short-url/8Niqohz7E2uDIzPRyoSbpFhGbAl.mp4](https://forum.dynamobim.com/uploads/short-url/8Niqohz7E2uDIzPRyoSbpFhGbAl.mp4)

---

<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 20, 2017, 9:43pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/17 "2017-03-20T21:43:46Z")

</div>

@abutterfield  
Hi…i think what you trying to do is your mixing count with list. This is not possible on your current setup. First you need to decide.

A. You get a list from revit to excel as what you are doing and from excel you do the counting.

B. You get a list Count of all furniture to excel, like a total count.

C. Export a schedule to excel (not via dynamo)

To explain further you trying to feed count to a list of dimension, manufacturer etc. which are string/text in format.

You just need to choose A or B. I forgot the package where i got the countoccurances node. I will post it tomorrow so you can download it.

Hope this will help.

---

<div class="post-metadata">

**Author:** ![abutterfield](https://avatars.discourse-cdn.com/v4/letter/a/a88e57/32.png) [@abutterfield](https://forum.dynamobim.com/u/abutterfield)\
**Post date:** [March 21, 2017, 12:04pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/18 "2017-03-21T12:04:35Z")

</div>

@4bimferdie.espiritu I currently have it set up at Opt C. But this is only a one way feed (Revit to Excel) and my end goal is to be able to make changes (not to the quantities) in excel and be able to feed it back to Revit and vice versa. Opt B would not work because I need a count of each item and not a total of the furniture. Would option A be a manual counting or would it be automatic? Are you also saying there is no way for Dynamo to get the quantities of an item and push that data into a designated excel cell?

---

<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 21, 2017, 12:47pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/19 "2017-03-21T12:47:43Z")

</div>

@abutterfield  
Yes there is always a way, just more nodes etc.

Just to be clear you want to have a total of each furniture and also its manufacturer’s name from Revit to Excel in one workflow? Then if you want to change furniture’s info you will change it in excel and feed it in to Revit via Dynamo?

I think it will be best if you can provide excel example and the graph you have so far. There are a lot of Revit to Excel and Excel to Revit query in the forum. There are many ways to deal with this, this is because the answer you will get depends on who’s giving it to you, some may do it via python, custom nodes and built-in nodes. I normally tried to use built-in nodes so it will be clearer.

Anyways I will try to help you as much as I can, so if you have example files it will greatly help.

Again everything is possible, just the timing is always problem.

---

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [March 21, 2017, 1:31pm UTC](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453/20 "2017-03-21T13:31:03Z")

</div>

Hi,

You will need the Element Unique Id to write your data back to the same instance -in Revit- it came from.  
Use search in this forum, this has been solved already.

Marcel

[Next page](https://forum.dynamobim.com/t/exporting-furniture-count-and-manufacturer-name-to-excel/10453.md?page=2)
