John,

Certain menu options such as the copy and paste functions (and mostly those
which do not have dialogue boxes) do not run GX's but call internal OE32
commands. You can check this by looking at the menu files (.SMN in v4.3) as
shown below:

/montaj.smn

MENU  "&Edit"
ITEM  "Cu&t"                                 ,*ID_EDIT_CUT
ITEM  "&Copy"                               ,*ID_EDIT_COPY
ITEM  "&Paste"                              ,*ID_EDIT_PASTE
ITEM  "E&dit ASCII file..."                ,edit.gx
ITEM  "OASIS montaj &Settings..."  ,settings.gx

These cannot be run in batch mode i.e. no parameters are written to a
recording script file. There is no workaround I can think of.

If you have any other specific tech questions, please feel free to contact
me directly.

Regards,

Ben

---
Ben Spurgeon
Geophysicist, Technical Services

Geosoft Europe Limited
[EMAIL PROTECTED]



----- Original Message -----
From: Dehls John <[EMAIL PROTECTED]>
To: <[EMAIL PROTECTED]>
Sent: Wednesday, April 12, 2000 9:44 AM
Subject: [geonet]: copy and paste with scripts?


First some background. I am trying to create a GIS index coverage of
existing data. Because of the number of datasets, I need to automate the
process. I have successfully processed all the line data by creating
shapefiles of the flight lines and then buffering them to produce polygons.
I am now working on grids. The solution outlined by Ian below works great
interactively, but I need to script it to process several hundred grids.
When I record a script, the copy and paste actions do not appear. Are these
available?

John

> -----Original Message-----
> From: Ian MacLeod [mailto:[EMAIL PROTECTED]]
> Sent: Tuesday, April 11, 2000 5:13 PM
> To: '[EMAIL PROTECTED]'
> Subject: RE: [geonet]: polygons from grids
>
>
> John,
>
> 1. Display the grid in it's natural projection and draw the
> polygon outline
> on the map.
> 2. Select the group that contains the polygon and copy it to
> the clipboard.
> 3. In the map in the other projection, past the polygon into
> the data view
> using the "Edit/Paste georeferenced" option.
>
> The polygon will be reprojected by the paste.  This technique
> can be used to
> reproject just about anything between maps in different projections.


**********************************************************************
Norges geologiske unders�kelse
Geological Survey of Norway
Email:  [EMAIL PROTECTED]
http://www.ngu.no
**********************************************************************
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html

_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html

Reply via email to