# IDAPython on IDA 9: idc.SEARCH\_DOWN does no longer exists?

**URL:** <https://community.hex-rays.com/t/idapython-on-ida-9-idc-search-down-does-no-longer-exists/58>\
**Category:** IDA General\
**Tags:** idapython\
**Created:** [January 22, 2025, 3:17pm UTC](https://community.hex-rays.com/t/idapython-on-ida-9-idc-search-down-does-no-longer-exists/58 "2025-01-22T15:17:12Z")\
**Posts on this page:** 2\
**Page:** 1

<div class="post-metadata">

**Author:** ![BigBug](https://avatars.discourse-cdn.com/v4/letter/b/58956e/32.png) [@BigBug](https://community.hex-rays.com/u/BigBug)\
**Post date:** [January 22, 2025, 3:17pm UTC](https://community.hex-rays.com/t/idapython-on-ida-9-idc-search-down-does-no-longer-exists/58/1 "2025-01-22T15:17:12Z")

</div>

I have an IDAPython script that uses `idc.SEARCH_DOWN`. Now on IDA 9 it doesn’t work anymore: `'idc' has no attribute 'SEARCH_DOWN'`

`idc.ida_search.find_not_func(text_start, idc.SEARCH_DOWN)`

The [migration guide](https://docs.hex-rays.com/developer-guide/idapython/idapython-porting-guide-ida-9) doesn’t say anything about removed fields from `idc`.

---

<div class="post-metadata">

**Author:** ![themaks](https://sea2.discourse-cdn.com/flex002/user_avatar/community.hex-rays.com/themaks/32/25_2.png) [@themaks](https://community.hex-rays.com/u/themaks)\
**Post date:** [January 22, 2025, 4:13pm UTC](https://community.hex-rays.com/t/idapython-on-ida-9-idc-search-down-does-no-longer-exists/58/2 "2025-01-22T16:13:15Z")

</div>

Hi there!  
It seems the constant `SEARCH_DOWN` is available in the `ida_search` module ( `ida_search.SEARCH_DOWN`)

As a general tip, I find it useful to grep the whole `ida/python` folder when I am looking for something that is not in the documentation

Cheers
