Element.GetLocation not working since Revit Update 2019.2

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?


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


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)


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