# Wall References

**URL:** <https://forum.dynamobim.com/t/wall-references/88738>\
**Category:** Revit\
**Tags:** revit, python, dynamo\
**Created:** [April 20, 2023, 3:29am UTC](https://forum.dynamobim.com/t/wall-references/88738 "2023-04-20T03:29:11Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![chhabrat](https://avatars.discourse-cdn.com/v4/letter/c/f04885/32.png) [@chhabrat](https://forum.dynamobim.com/u/chhabrat)\
**Post date:** [April 20, 2023, 3:29am UTC](https://forum.dynamobim.com/t/wall-references/88738/1 "2023-04-20T03:29:11Z")

</div>

Hey all,

Looking to get some feedback or a creative way out of this situation where I am stuck at.  
I am trying to get the wall references based on its location.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/9/6/96eadcd673b281a23ad2b7407cf5d958fbc61f0c.png)

I want to dimension the wall as 240mm in lieu of 250mm as its original thickness. I want to ignore the reference which gives me the 10mm Plaster board.  
I have used Genius Loci wall references, Wall edge references, and heaps of other things but none of them is giving me a consistent result.  
Does anyone have any creative idea or some solution to this issue?  
In short, is there a way to get which reference represents what layer.

 ![image](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/0/9/091012c4d549dfb2772130fee8a77ec86eb40f2f.png)

I have attached my dynamo script, its a bit of a mess.

[Dim Test\_MK015.dyn](https://forum.dynamobim.com/uploads/short-url/cplKbExxTV5ifMr7Hos3JC77Vg3.dyn) (398.7 KB)

---

<div class="post-metadata">

**Author:** ![staylor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/staylor/32/94307_2.png) [@staylor](https://forum.dynamobim.com/u/staylor)\
**Post date:** [April 21, 2023, 8:13pm UTC](https://forum.dynamobim.com/t/wall-references/88738/2 "2023-04-21T20:13:35Z")

</div>

GeniusLoci has a node called Compound Surfaces References which returns the surface, the material and the reference. You may can filter out the references by the corresponding material names. I have never used that node, so not sure if it returns everything or not.
