C# Objects to points

I exported a list of tuples. Now it seems to be an object when importing it to another C# component. When I am trying to extract the xyz of a object it does not seem to have an Item1, Item2, Item3. The object is build as <double, double, double>.

How can I make an object into a point3d?

202110241005.gh (3.5 KB)

You should use the same class you used when creating those “Tuples” also on the c# script which want to read and use them.
You would then be able to cast your “object” to the proper class again.

See also here: