Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

Autodraw for survey coordinates

204 views
Skip to first unread message

Laynne Botes

unread,
Dec 30, 2001, 4:02:01 AM12/30/01
to
Is there a macro or mdl that can draw a smartline by ascii file coordinates
import automatically.
I have searched & tried several macros & mdl's but none of them gives the
results I want.

It is a typical cxyz-format that surveyors use.

Even a suggestion is better than nothing to work with.

LB


Simon Wurster

unread,
Dec 30, 2001, 9:50:53 PM12/30/01
to
Hi Laynne,
You could try XYZ Text: select Tools > Tool Boxes, XYZ Text. Take a look
at the "down arrow" tool.
This function is in MicroStation/J, perhaps SE and V8 as well.
Happy New Year,
Simon

Chuck Rheault aka CADDCOP

unread,
Jan 2, 2002, 5:19:14 PM1/2/02
to
"Laynne Botes" <lay...@nwglass.co.za> wrote in message news:<a0ml68$217$1...@ctb-nnrp2.saix.net>...

There is also an MDL out there called CVTDATA.MA, written by Bill
Steinbock.

Visit http://www.geocities.com/caddcop/PI_frame.htm and follow the MDL
links to the page for cvtdata.ma and then follow its link to download
the source and compiled mdl.

You may also find a few others there very usefull - PLTPNT.MA,
EXTPNT.MA, PNTDATA.MA, SCALE.MA, and CIVTOOLS.MA. Unfortunately, they
are not available for v8 at this time - except for an early conversion
of civtools.

Kees van Prooijen [Bentley]

unread,
Jan 4, 2002, 10:20:44 AM1/4/02
to Laynne Botes
Layne,
Have a look at Geoscript (that is part of GeoGraphics).  That is a scripting tool esspecially build for geoengineering users that (hardly) doesn't have any programming experience and do not want spend money on consultancy.
If you have GeoGraphics Select you can download it from SelectServices (look for the product GeoSELECTools).
The whole code of the example looks like this:

DEFINE ASCII_FORMAT point_file
  SKIP    0
  COMMENT ';'
  BLOCK   1
  SEPARATOR   ','

  ASSIGN  number      S   SEPARATOR 1
  ASSIGN  X           R   SEPARATOR 2
  ASSIGN  Y           R   SEPARATOR 3
  ASSIGN  CODE        S   SEPARATOR 4
END

DEFINE SCRIPT load_points
  setup none
 
  validate
    IF (CODE=='1') // Code for a new line
      xstart = x
      ystart = y
    ELSE
      place line xstart ystart x y
      xstart = x
      ystart = y
    END
  END
END

BROWSE INPUT filename "Select Point file" "*.dat"

xstart = 0
ystart = 0
if (filename<>"")
  ASCII_LOAD filename point_file load_points
end

--

Kees van Prooijen            mailto:kees.van...@bentley.nl
Bentley Europe, Middle East and Africa
 

0 new messages