# How to get the Revit elements GUID and IFC\_GUID using Dynamo

**URL:** <https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676>\
**Category:** Packages\
**Created:** [February 16, 2017, 2:32pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676 "2017-02-16T14:32:22Z")\
**Posts on this page:** 9\
**Page:** 1

<div class="post-metadata">

**Author:** ![MOJTABA256](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MOJTABA256](https://forum.dynamobim.com/u/MOJTABA256)\
**Post date:** [February 16, 2017, 2:32pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/1 "2017-02-16T14:32:22Z")

</div>

Hello guys

Could u please tell me how I can extract Revit elements GUID, and IFC-GUID by using Dynamo? For IFC\_GUID I tried Bakery package, but for me it doesn’t work and it shows null after doing the analysis. But about Revit objects GUID, I don’t know how to extract them.  
Thank u so much

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 16, 2017, 5:24pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/2 "2017-02-16T17:24:56Z")

</div>

Hello, I think IFC\_GUIDs are simply instance parameters. For Revit IDs, you can see what’s in this thread:

> [@Excel to rooms by ID](https://forum.dynamobim.com/t/excel-to-rooms-by-id/8777/10):
>
> The elements IDs can change but the GUIDs are stable. There is a node called Revit ID in the Hot Gear package that will give you these GUIDs. For more explanation, please see on Revit forums: [http://forums.autodesk.com/t5/revit-api-forum/unique-id-vs-elementid-which-identifier-to-stored-in-the/td-p/4962636](http://forums.autodesk.com/t5/revit-api-forum/unique-id-vs-elementid-which-identifier-to-stored-in-the/td-p/4962636) And also, Id to Element from Archi-lab Grimshaw accepts GUIDs

---

<div class="post-metadata">

**Author:** ![MOJTABA256](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MOJTABA256](https://forum.dynamobim.com/u/MOJTABA256)\
**Post date:** [February 17, 2017, 3:13pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/3 "2017-02-17T15:13:16Z")

</div>

Thank u so much for your response and guidance. Finally by using Bakery package I could extract IFC-GUID of ifc elements. But I don’t know how to filter the IFC-GUID. For example, I want to know IFC-GUIDs in the output list are related to which element in ifc file. Do you know what I should do? Thanks

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/8/182b2902b887d84c5ee8e9c6c1f59b2840873338.png)

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 17, 2017, 3:29pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/4 "2017-02-17T15:29:25Z")

</div>

It could be possible but I don’t know how, I would rather get these parameter values from Revit directly, like so:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/f/0/f035ed39a9bab42a2f17a3c34ae85fc46ef02725.JPG)

---

<div class="post-metadata">

**Author:** ![MOJTABA256](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MOJTABA256](https://forum.dynamobim.com/u/MOJTABA256)\
**Post date:** [February 17, 2017, 3:56pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/5 "2017-02-17T15:56:11Z")

</div>

Thank you so much Yna for your quick response. But for me it didn’t work. 😞  
Do you know why?

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

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 17, 2017, 4:01pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/6 "2017-02-17T16:01:44Z")

</div>

There is a little trick to fix this in the Export IFC / Modify setup 🙂

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/1/2/12f220bbf242ed6c8fea7c77bef0d8880294ccd8.JPG)

---

<div class="post-metadata">

**Author:** ![MOJTABA256](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MOJTABA256](https://forum.dynamobim.com/u/MOJTABA256)\
**Post date:** [February 17, 2017, 4:13pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/7 "2017-02-17T16:13:22Z")

</div>

😌 Thank u so much. It worked. Thanx

I have another question, regarding parsing an IFC file.

I saw two pictures in “[https://dynamonodes.com/2016/09/07/read-from-ifc/](https://dynamonodes.com/2016/09/07/read-from-ifc/)” about “Read From IFC Node”, They show how to parse an IFC file and filter IFC name and Attribute Values. But I don’t know what is the node which connected IFCWALL to “List.FilterByBoolMask” node as shown in attached figures. Could u please tell me what this node is and how to filter the outputs, how to show each IFC name with all its ifc parameters and their value separately. For example it shows me the IFC parameters and their values for each wall of my Revit model.

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

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

---

<div class="post-metadata">

**Author:** ![Yna\_Db](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/yna_db/32/30641_2.png) [@Yna\_Db](https://forum.dynamobim.com/u/Yna_Db)\
**Post date:** [February 17, 2017, 4:17pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/8 "2017-02-17T16:17:01Z")

</div>

Please start a new thread for this including a link to your last post. The issue described in the title is solved and there can’t be two solutions marked in the same thread. Thanks 🙂

---

<div class="post-metadata">

**Author:** ![MOJTABA256](https://avatars.discourse-cdn.com/v4/letter/m/c77e96/32.png) [@MOJTABA256](https://forum.dynamobim.com/u/MOJTABA256)\
**Post date:** [February 17, 2017, 4:18pm UTC](https://forum.dynamobim.com/t/how-to-get-the-revit-elements-guid-and-ifc-guid-using-dynamo/9676/9 "2017-02-17T16:18:01Z")

</div>

Ok. Thank u so much:relaxed:
