Results 1 to 1 of 1

Thread: Drawing lines and points from a specific DAT/ txt file

  1. #1
    Woo! Hoo! my 1st post
    Join Date
    2013-12
    Posts
    1
    Login to Give a bone
    0

    Default Drawing lines and points from a specific DAT/ txt file

    Hi everybody,

    Many times in my practice we receive a 3d design from an external design company in different formats. The most common one is the XML format, but that one is not always giving the best result. I talking about designs with many different layers, slopes...
    The result surface from the import of XML file is basically only points and Civil is deciding how to make the triangulation.
    That is why we ask for DAT file. Most of the times it is an export option in the microstation or 3Dmax I am not sure about.
    That file is consisted by points and lines defined with E, N, Z and an extra forth column with the numbers 1 or 0. I think that is an old format also used for plotters - 1 is pen down, 0 is pen up.

    I have lisp which can import that coordinates as a 3D plyline, but then is a real challenge to filter the break lines from the points.

    I have some experience with lisp and I tried to write one by my self, but I am sucked at the moment where the line number from the file should be saved, line or 3dpoly command executed and then continue from the last used line till the end of the file.

    Any routine which will read and import the points and lines correctly will help me a lot.

    If anybody finds that a challenging and interesting I will highly appreciate any ideas and suggestions .

    Two examples of that .dat file and txt are attached.
    Attached Files Attached Files

Similar Threads

  1. Which variables are Drawing Specific and Which are Session Specific?
    By stusic in forum CAD Management - General
    Replies: 4
    Last Post: 2013-09-10, 01:28 PM
  2. Import points into drawing file from Excel
    By msanders.85217 in forum AutoCAD Civil 3D - General
    Replies: 11
    Last Post: 2013-07-16, 11:41 AM
  3. Mid between 2 points while drawing lines, walls, etc.
    By Wish List System in forum Revit Architecture - Wish List
    Replies: 1
    Last Post: 2012-10-02, 03:50 PM
  4. Replies: 4
    Last Post: 2007-01-22, 11:04 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •