import xml

Hi there

I have Excel file with Y, X, and Z coordinates and numbers of points. Is there way how to use it for Bcad and make points in dwg with that coordinates and points marks and numbers?

Thanks

 

Comments

  • Hi Jan,

    You can find a couple of applications for point import from text data, just save your XLS data to Tab delimited ot CSV text file. Please try http://www.bricscad.com/common/applications/application.jsp?app=384 for this purpose.

    Regards, Vaidas

  • Hi Jan,

    There are ways and means to import/export data from Excel to Bricscad. You can look up the Bricscad applications catalog for applications that do that.

    Personally, I often find it easier to export the XLS data into ASCII text in delimited or fixed columns format and bring it into Bricscad.

    Our GeoTools program (see URL below) has one such tool called GT_IMPEX that will offer a variety of means to import and export point data into / from Bricscad.

    -Or- Let me know if you want some Lisp code for some quick-and-dirty point import and I can create one for you.

    Regards
    Rakesh Rao
    www.coordsys.com

  • X,Y,Z data in Excel? Why don't you use excel to create a script. Example below has X,Y,Z data in columns A,B,C. Column E contains the data for the script, which you create by simply concatenating the data together

     


     ABCDE
    1XYZ Script
    212.05.08.0 POINT 12,5,8
    315.062.05.0 POINT 15,62,5
    418.01.045.0 POINT 18,1,45
    545.02.012.0 POINT 45,2,12
    645.046.036.0 POINT 45,46,36
    764.014.012.0 POINT 64,14,12
    812.032.010.0 POINT 12,32,10

    For instance Cell E2 contains the following formulae: ="POINT " &B3& ","&C3& ","&D3

    Once you have formed the data for your script simply select in excel, paste in a text editor (notepad) and save it as a script.

    Recommend you trial on a test drawing to work out any issues, before unleashing on your real drawing.

    I have created script files this way many times. Its simple and it works.

     

  • I will just add the warning that you will always want to turn Snaps off when running a script to create point entities.

This discussion has been closed.