Place Points by Getting Coordinates from Excel - Error

Hi All,

I’m trying to create a set of points by getting coordinates from excel and in the last step, a warning occurs to me.
Warning: Point.ByCoordinates operation failed.
The type initializer for ‘Autodesk.LibG.LibGPINVOKE’ threw an exception.

Can anyone tell me how to avoid this warning? and is there any better method to conduct this task?

Thanks,

Dennis

your code looks correct, i use the same.

Found 2 Options:

  1. Dynamo and Revit installed on different harddrives
    Error when i create points

  2. Old Dynamo version?
    what dynamo version do you use?
    https://github.com/DynamoDS/Dynamo/issues/3873

Hi wusaga,

Thanks for your reply. My Revit version is 2019.2.1 and Dynamo Revit 2.0.1.5065, Dynamo core 2.0.1.5055. They all installed in the same hard disk.

Regards,

Dennis

try my code. but its the same
Excel LinienImport.dyn (45.2 KB) Punktdatei.xlsx (9.3 KB)

Hi wusaga,

Thanks for your code, but the same warning came out again. I think it is an issue of the program.

Dennis

you need to update to 2.0.2 at least - 2019.2 requires 1.3.4 or 2.0.2.