How to import ARCMAP .LYR file into data view with gxapi or gxpy modules
JoshuaCelestine
Posts: 2 New Member
Hi All,
I am having trouble figuring out how to import a arcgis .lyr file into a geosoft .map. I have tried using a gxapi.GXDATALINKD.create_arc_lyr() method to create and arc_lyr object but I don't understand how I can display it in the data view of the .map. Please let me know if anyone is able to assist with this question.
Thank you,
Joshua Celestine
I am having trouble figuring out how to import a arcgis .lyr file into a geosoft .map. I have tried using a gxapi.GXDATALINKD.create_arc_lyr() method to create and arc_lyr object but I don't understand how I can display it in the data view of the .map. Please let me know if anyone is able to assist with this question.
Thank you,
Joshua Celestine
0
Comments
-
I wanted to provide some additional details to the question.
I am trying to create a standalone python script that automates a company task. As a step I need to import a ARCGIS.lyr file into the 'data' view of a .map file. From exploring the gxapi and gxpy documentation it seems that there is no direct method to simply import a ARCGIS.lyr file and that it may require calling the method directly from the (geogxnet.dll(Geosoft.GX.ArcGIS.ImportLYR;Run)*) . However, I am unfamiliar with dll's and am wondering if this is the only way to display a .lyr file in the 'data' view of a .map file. Please let me know if this provides any clarification for the previously asked question.0
Categories
- All Categories
- Community
- 16 Latest Releases
- 15 Member Spotlight
- 38 Learning
- Products
- Geology
- 535 Leapfrog
- 1 Volsung
- 25 Visible Geology
- Data Management & Collaboration
- 14 MX Deposit
- 13 Central
- 9 Imago
- Geotechnical
- 136 GeoStudio
- Geophysics
- 319 Oasis montaj
- 1 Workbench
- SPIA
- 9 Res2DInv & Res3DInv
- 3 Evo
- 25 GX Developer