# ElementSelector.ByUniqueId

**URL:** <https://forum.dynamobim.com/t/elementselector-byuniqueid/7231>\
**Category:** DesignScript\
**Created:** [November 2, 2016, 1:30pm UTC](https://forum.dynamobim.com/t/elementselector-byuniqueid/7231 "2016-11-02T13:30:31Z")\
**Posts on this page:** 1\
**Showing post:** 1

<div class="post-metadata">

**Author:** ![Marcel\_Rijsmus](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/marcel_rijsmus/32/8539_2.png) [@Marcel\_Rijsmus](https://forum.dynamobim.com/u/Marcel_Rijsmus)\
**Post date:** [November 2, 2016, 1:30pm UTC](https://forum.dynamobim.com/t/elementselector-byuniqueid/7231/1 "2016-11-02T13:30:31Z")

</div>

Hi,

I used a Code Block for ElementSelector.ByUniqueId( id, true) but it askes me for 2 inputs.  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/5/4/54427634a042f17abac8bba641a7958c33a26d05.png)

And this gives me the Non pointer error

This used to be just one input like this:  
 ![](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/9/d/9d12256a491d59064eb5703d521acb478218c3e6.png)

I got this from AU [http://www.revit.com.au/1564/](http://www.revit.com.au/1564/)

What happened here and how do i correct this?

Marcel

---

_[View the full topic](https://forum.dynamobim.com/t/elementselector-byuniqueid/7231)._
