TIA
--
Alphons Evers, Cartographer Sudbury, Ontario, Canada
Ministry of Mines & Minerals (705) 670-5740
Publication Services Section
Alphons: There are a couple of things that might help you out. One is a
MicroStation BASIC macro that you can use (if you're using MicroStation
PowerDraft and MicroStation 95.) You can download EXTTEXT from our ftp
site at ftp://ftp.bentley.com/pub/share/basicwar/source/exttext.bas (the
description is at
ftp://ftp.bentley.com/pub/share/basicwar/source/exttext.txt) If that
doesn't fit the bill, then there's an MDL application called TEXTX in
101 MDL Commands that also does this. HTH
============== One of "The People Behind MicroStation" ==============
Phil Chouinard - ITO (610) 458-5000 v (610) 458-1060 f
Bentley Systems WWW: http://www.bentley.com
690 Pennsylvania Drive CompuServe: 75300,3376
Exton, PA USA 19341-1136 mailto:Phil.Ch...@Bentley.com
================= "Engineering the Future Together" =================
Does anyone know of a way to pull text out of a design file, to create
a ascii file. Maybe a UCM, an MDL or some snazzy EDG routine.
TIA
--
Alphons Evers, Cartographer Sudbury, Ontario, Canada
Ministry of Mines & Minerals (705) 670-5740
Publication Services Section
>>>>>>>>>>>>>>>>>>>>>>>>
TEXTOUT.MA writes DGN text out to an ascii file of your choice. It will
extract all text or selection set (fence ) text. It appends the text to
any existing ascii text file. You can specify any other delimiter other
than the default "newline".
---------------------------------------------------
Allan Seidel -- St. Louis, Mo. -- Akse...@aol.com
---------------------------------------------------
>eve...@gov.on.ca (Alphons Evers) wrote:
>Does anyone know of a way to pull text out of a design file, to create
>a ascii file. Maybe a UCM, an MDL or some snazzy EDG routine.
>
>TIA
>
>--
>Alphons Evers, Cartographer Sudbury, Ontario, Canada
>Ministry of Mines & Minerals (705) 670-5740
>Publication Services Section
---
Wilma Sepulveda
Hardesty & Hanover, NYC
wil...@webspan.net
"I've always depended on the kindness of strangers ..."
Alphons;
I saw something like this on the Bentley FTP site.
Jerry
Bob Schriner
Marathon Oil Company
Another way to extract the text in order is to sort the text in the
design file before extraction. Working sets work well for this
purpose -- use WSET ADD to add each text element one at a time to a
working set, then WSET DROP when you're done -- they'll become sorted
in the order you tagged them. Then extract the text to an ASCII file.
An alternative to working sets is to use a combination of copy,
delete, and move for all the text elements.
I wonder if using the Windows clipboard to copy and paste will sort
the text in the right order?
I don't know of any method of extracting side-by-side columns of text
into an ASCII file, so that the columns remain side by side.
dave
>Would this text application (EXTTEXT.BAS or TEXTX.MA) keep the lines of
>text in the same order as seen on the screen? Most applications, including
>cut and paste, extract lines of text in the way they exist in the design
>file. If you edit a text string in a series of strings (paragraph), the
>order is changed (as far as the file is concerned).
No, these applications don't sort the text by its location. You can
work around that with MDL101's TEXTX by tagging each line of text one
at a time in the correct order, and it will append each line of text
you tag to the output file. Useful for a few columns of text, but not
for a 1000 page novel.
dave