# Door and Room query with python

**URL:** <https://forum.dynamobim.com/t/door-and-room-query-with-python/9904>\
**Category:** Lists-Logic\
**Created:** [February 25, 2017, 2:16pm UTC](https://forum.dynamobim.com/t/door-and-room-query-with-python/9904 "2017-02-25T14:16:16Z")\
**Posts on this page:** 1\
**Showing post:** 3

<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 27, 2017, 8:25pm UTC](https://forum.dynamobim.com/t/door-and-room-query-with-python/9904/3 "2017-02-27T20:25:56Z")

</div>

Hello, I can’t really help with the “warning” part of your workflow, but I would give two advice here:  
First, you could get an Excel schedule very simply by exporting a Revit schedule. This can be done through Dynamo using _Bimorph Nodes_, see here:

> [@Creating a list of doors where the 'to room' parameter is filled in](https://forum.dynamobim.com/t/creating-a-list-of-doors-where-the-to-room-parameter-is-filled-in/9870/4):
>
> Did you also try the bimorph.GetScheduleData node from Bimorph Nodes? [image]

You would need to write the IDs first as doors parameters (with an _Element.SetParameterByName_ node).  
But second, I would rather use GUIDs because they are more stable than IDs, see here:

> [@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

Once this is in place, you can add any other parameter to your schedule, such as a boolean coming from a filter by width:

 ![](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/6/3/63256ff5e69bcb1b77b4a8f09c7da238fbbd1df3.JPG)

---

_[View the full topic](https://forum.dynamobim.com/t/door-and-room-query-with-python/9904)._
