Do you have any examples of automating Surfer with C# or C++? Attached are some example files for automating Surfer in C# (*.cs) and C++ (*.cpp). You are welcome to use these, but we do not officially support C# or C++, so we cannot help with modifications of these scripts. Updated November 1, 2018 client.cs (2 KB) clSurferTest.cs (4 KB) Surfer.cpp (4 KB) client.cpp (4 KB) Have more questions? Submit a request 1 Comments Date Votes 0 Bill Wingle June 28, 2017 20:57 In the clSurferTest,cs file, an example data file is given. All the X values are 0.0. The kriging function doesn't like this and causes the program to crash with a COMException - Insufficient data (collinear) when GridData (...) is called. Change one or more of the 0.0's to 1.0 or something and it will work fine. Please sign in to leave a comment.