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

Was this article helpful?
0 out of 0 found this helpful
Have more questions? Submit a request


  • 0
    Bill Wingle

    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.