# Seach for x if y

**URL:** <https://forum.dynamobim.com/t/seach-for-x-if-y/7311>\
**Category:** Revit\
**Tags:** revit, dynamo\
**Created:** [November 7, 2016, 8:27am UTC](https://forum.dynamobim.com/t/seach-for-x-if-y/7311 "2016-11-07T08:27:21Z")\
**Posts on this page:** 1\
**Showing post:** 12

<div class="post-metadata">

**Author:** ![salvatoredragotta](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/salvatoredragotta/32/10078_2.png) [@salvatoredragotta](https://forum.dynamobim.com/u/salvatoredragotta)\
**Post date:** [November 8, 2016, 11:16am UTC](https://forum.dynamobim.com/t/seach-for-x-if-y/7311/12 "2016-11-08T11:16:51Z")

</div>

Also have a look here:

> [@IF Statement with Python Script or DesignScript Code Block](https://forum.dynamobim.com/t/if-statement-with-python-script-or-designscript-code-block/4127):
>
> I’m running into a wall while trying to work with IF statements in an efficient way. I just simply don’t know how to appropriately specify the code in the correct syntax. Here’s what I have so far. Any pointers would be greatly helpful. import clr import math clr.AddReference('ProtoGeometry') from Autodesk.DesignScript.Geometry import \* #The inputs to this node will be stored as a list in the IN variables. theaterWomen = IN[0] theaterMen = IN[1] theaterTotalLoad = [] theaterWomenBasins = [] th…

---

_[View the full topic](https://forum.dynamobim.com/t/seach-for-x-if-y/7311)._
