-
Licence for Create_CPG
Hi, I've been testing my gxNet code for users who do not have an Oasis licence and encountered a problem with the call to create a pager. The relevant line in the code looks like this: CPG PGSpec = CPG.Create(iNy, iNx, GS_TYPESConstant.GS_FLOAT); The (hopefully correctly transcribed) error message generated is: Unable to…
-
Read/write Meta information in a gdb using gxnet
Hi, I'm having difficulty in creating and writing information in the Metadata for a gdb. I followed the process used in the FileToandFromGDB.cs, but it doesn't work for me. The relevant (elided) code section is this: hMETA = CMETA.Create(); hDB.GetMETA(hMETA); var mcData = hMETA.ResolveUMN("CLASS:/Geosoft/Data"); var…
-
question about the GeosoftTemplates.vsi install.
My environment: visual studio 2015+gx developer9.1 my question:when I install the GeosoftTemplates.vsi,I got a problem like this: Installation stopped because the directory for template installation did not exist. Please run Visual Studio on this computer to create the template directories. and my directory for template is…
-
User Menus in OM V9
Where do we now put the .omn file for a user menu in Oasis Montaj 9? The help file simply says "in the Geosoft user\omn folder", however this does not work. Neither does placing it in "Geosoft\Oasis Montaj\user\omn". I have tried several locations with no success (the user folders never appear in the "Manage Menus" window).
-
Creating a new database
Hi again, I am trying to create a new database and fill it in a C# dll. Essentially I am reading in some data from one database (thanks for the help from my last post by the way, it was very useful!), doing some processing on it, and now I am attempting to write it out to a new database. I have created the new database,…
-
Accessing data in a database
I am building a C# dll, and currently I have got myself to the point where I can load it into Oasis Montaj, and do various little things, however I am having trouble figuring out the best method to get at the data inside of a database. Essentially, I want to access the loaded database to get the x, y, and measurement…
-
Binding error
Hello, I am modifying chanadd.cs to read a grid and am running into a dll issue. Compilation goes fine, but I get the following runtime error: Error: Unable to bind the "?iNCols_PG@@YAJPAUh_gxx@@PBJ@Z" wrapper function. The DLL may not be present or a license may be missing.The thread 0x3064 has exited with code 0 (0x0).…
-
Display SQL Server GEOMETRY column on Geosoft Map
Hello, I am wondering what the best approach would be to display SQL Server GEOMETRY (point, line, area) data in a Geosoft Map. I expect this to be a custom GX that I would need to write, but please give me some direction on the best way to tackle this. Does Geosoft parse JSON strings easily? Would the new Python API be…