Most of the current development at Geosoft is done in the C# .NET environment and there are lots of examples showing how this is done. In particular the <Geosoft>\GX developer\gxnet\src\gxnet.csproj file includes the code for all of the Geosoft .Net GXs.
In order to access your routine from within montaj you will need to create a menu item with the second parameter in the form:
dllname(assemblyname.gxname;method)
for example the dap.smn menu contains the following item:
ITEM "Add Bing Maps Imagery..." ,Geosoft.EIMS.GXNet.dll(Geosoft.EIMS.GX.AddBingLayerToMap;Run) {?map}
That is, the Run method of the AddBingLayerToMap gx, which is part of the Geosoft.EIMS.GX namespace and is found in the Geosoft.EIMS.GXNet assembly.
C# .NET API
The C# GX.NET API is documented here: GX.NET API 8.3.0
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\
...
Please refer to the .NET Development sections in the appropriate GX Developer version:
Include Page |
---|
| Documentation by Release |
---|
| Documentation by Release |
---|
|