As of V21 it became possible to 'embed' a C# (or C++, VB etc) routine into a script to provide API access through scripting. There were examples given (in a PDF file I believe) and I experimented a bit. I've forgotten whatever I learned and would like to find that PDF again. Alternatively a simple working example would be very helpful.