GX .NET APIs
The Geosoft GX .NET API has two flavors consisting of 2 assemblies each.
The first flavor's namespace ends in GXNet
and is used for most extensions and standalone programs. This API is not thread safe and all API calls should be used inside a single thread only. The second's namespace ens in GXNetX
and could be used where multiple threads uses the API at the same time. Each thread should have it's own CGX_NET
or CGXNETCore
context object which will be the first argument passed to static methods and object creation methods.
The 2 assemblies split the available classes roughly into what is considered "Core" engine functionality (Geoengine.Core.*
namspace) and classes that are closer to what the full Oasis montaj Desktop suite offers (Geosoft.Desktop.*
namspace).
The GX API Reference links contains details on everything available in these APIs.
Installed Files
The GX Developer installation contains the following files for C# .NET development:
C# Examples
gxnet\examples\chanadd\ | Console program to copy/convert grids using IMG class interface. (C# version). |
gxnet\examples\OMScript\ | GUI program that can execute GS Scripts and GX’s in GUI mode (C# version). |
gxnet\examples\GoogleMapsTool\ | Example that combines Geosoft API with Google Maps. |
gxnet\examples\XToolControl\ | Sample Geosoft XTool, with binding GX. |
gxnet\src\ | All Geosoft C# code and XTools. |