At 02:31 PM 14 06 00 -0400, Mansour wrote:
>Selecting all lines and calculating distance can be scripted, but the result
>can't be saved anywhere. Any idea how to do this PAINLESS?
Mansour,
As a power toolbox user you can use the following script to save the lengths of every
line. This will get you part way there.
GX selall.gx
SETINI DISTCHAN.X="x"
SETINI DISTCHAN.Y="y"
SETINI DISTCHAN.OUT="dist"
GX distchan.gx
SETINI DDSTAT.INCHAN1="dist"
SETINI DDSTAT.STAT1="min/max"
SETINI DDSTAT.INCHAN2=""
SETINI DDSTAT.STAT2="min/avg/max/std"
SETINI DDSTAT.INCHAN3=""
SETINI DDSTAT.STAT3="min/avg/max/std"
SETINI DDSTAT.OUTFILE=".\\DDStat.rpt"
GX c:\geosoft\ddonkey\DDStat.gx
The result will look like this...
Data Donkey Power Toolbox Statistics Tool
Line # dist dist
min max
L101:0 0 472381.956
L102:0 0 509525.989
L103:0 0 987106.132
and so on...
It occurs to me though that more control over the output could easily be implemented.
If you contact me directly with your requirements I can make sure your needs are met.
cheers
Marc Pelletier
---------------------------------------------------------------------------
Data Donkey - Geophysical Data Processing, Consulting and Software Development
Creator of the POWER TOOLBOX utilities for OASIS montaj
contact: mailto:[EMAIL PROTECTED] tel (306) 931-6853 or http://www.datadonkey.com
_______________________________________________________
More mailing list info http://www.geosoft.com/support/listserv/index.html