# Element.GetLocation not working since Revit Update 2019.2

**URL:** <https://forum.dynamobim.com/t/element-getlocation-not-working-since-revit-update-2019-2/31548>\
**Category:** Revit\
**Created:** [February 1, 2019, 3:37pm UTC](https://forum.dynamobim.com/t/element-getlocation-not-working-since-revit-update-2019-2/31548 "2019-02-01T15:37:29Z")\
**Posts on this page:** 4\
**Page:** 1

<div class="post-metadata">

**Author:** ![Gabor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gabor/32/24760_2.png) [@Gabor](https://forum.dynamobim.com/u/Gabor)\
**Post date:** [February 1, 2019, 3:37pm UTC](https://forum.dynamobim.com/t/element-getlocation-not-working-since-revit-update-2019-2/31548/1 "2019-02-01T15:37:29Z")

</div>

Element.GetLocation node seems to be not working for me, I get the following error:  
Warning: Element.GetLocation operation failed.  
The type initializer for ‘Autodesk.LibG.LibGPINVOKE’ threw an exception.

It was working 2 hours ago, and only major thing I did in the meantime was installing Revit Update 2019.2.  
Does anyone have an idea what’s wrong, and how to resolve it?

![dynamo%20error](https://cdck-file-uploads-us1.s3.dualstack.us-west-2.amazonaws.com/flex022/uploads/dynamobim/original/3X/e/c/ec8fc87a621abc734e0940b7fb8ec6cf820f3939.jpeg)

---

<div class="post-metadata">

**Author:** ![Gabor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gabor/32/24760_2.png) [@Gabor](https://forum.dynamobim.com/u/Gabor)\
**Post date:** [February 1, 2019, 3:55pm UTC](https://forum.dynamobim.com/t/element-getlocation-not-working-since-revit-update-2019-2/31548/2 "2019-02-01T15:55:05Z")

</div>

Seems to be some even more fundamental error. Point.ByCoordinates is not working for me either.

![dynamo%20error%202](https://us1.discourse-cdn.com/flex022/uploads/dynamobim/original/3X/2/b/2b9adc3b7bad0836ebf0a0188a64d54c699f0f45.jpeg)

---

<div class="post-metadata">

**Author:** ![Michael\_Kirschner2](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/michael_kirschner2/32/75576_2.png) [@Michael\_Kirschner2](https://forum.dynamobim.com/u/Michael_Kirschner2)\
**Post date:** [February 1, 2019, 4:31pm UTC](https://forum.dynamobim.com/t/element-getlocation-not-working-since-revit-update-2019-2/31548/3 "2019-02-01T16:31:35Z")

</div>

what version of dynamo do you have installed. 2019.2 will require 1.3.4 or 2.0.2.  
Can you please verify if those versions are installed? (DynamoRevit and DynamoCore)

---

<div class="post-metadata">

**Author:** ![Gabor](https://sea2.discourse-cdn.com/flex022/user_avatar/forum.dynamobim.com/gabor/32/24760_2.png) [@Gabor](https://forum.dynamobim.com/u/Gabor)\
**Post date:** [February 4, 2019, 7:25am UTC](https://forum.dynamobim.com/t/element-getlocation-not-working-since-revit-update-2019-2/31548/4 "2019-02-04T07:25:59Z")

</div>

Indeed, I was using Dynamo 2.0.1.  
I installed 2.0.2 and now it’s working. Thanks for the help!
