This is a solution for points only not lines or polys - so if you want
to create a DEM this will work.  Warning - very convoluted and inelegant
solution!

In AutoCAD set your "logfilemode" variable to "1" 
and you logfilename variable to some name and path e.g.
"c:\temp\dem.log" From this point on all commands and output will be
written to that logfile.

Now select all you dem points and type "list".  AutoCAD will list the
x,y  and z of every item selected.  Since you have to hit return for
every item you need to find some way to hold the return key down ( I use
a highlighter and a book on top.  Now you should see all your items
scrolling by.

When AutoCAD has listed all of your items you now have a text file with
this list.  Unfortunately the list is full of junk.  At  this point I
bring the list into ACCESS (other database programs will work.)  Import
the list using the fixed width option and insert the columns separators
so that the x y and z go into separate fields and all of the other
fields can be dropped.    If you define the fields as a numeric data
type, all of the junk will get turned into zeroes. Now you can filter
out all the zeroes. Export this table to a text file which can be opened
in MapInfo or I suppose you could use ODBC to get this table into
MapInfo.
        Once this table is in MapInfo you can create point based on the X and y
columns and you have the Z .
                Some of you now think I am completely insane but it works,

Andrew Waltho wrote:
> 
> Is anyone aware of a way to import a 3D DXF file to Mapinfo in a way that
> preserves the elevation data?  The import options in MI 4.5 seem to strip
> any elevation data from the file.
> 
> Thanks,
> 
> Mining & Resource Technology
> Andrew Waltho
> Principal Geologist
> 
> Brisbane Office
> Tel:  +61 7 3229 1633
> Fax:  +61 7 3229 6120
> 
> www.mrtconsulting.com.au
> 
> ----------------------------------------------------------------------
> To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
> "unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

-- 
___________________________________
Ground Control GeoTechnologies Inc.
Suite 210 - 1290 Hornby Street
Vancouver, British Columbia
Canada, V6Z 2G4

voice: (604) 684-5900
fax :  (604) 684-5909
web:   http://www.groundcontrol.ca
email: [EMAIL PROTECTED]
___________________________________

----------------------------------------------------------------------
To unsubscribe from this list, send e-mail to [EMAIL PROTECTED] and put
"unsubscribe MAPINFO-L" in the message body, or contact [EMAIL PROTECTED]

Reply via email to