+ Reply to Thread
Page 1 of 2 1 2 LastLast
Results 1 to 10 of 11
  1. #1
    Junior Member homer's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2007
    Posts
    15

    Default Excel to AutoCAD

    Registered forum members do not see this ad.

    Hello,

    I work with AutoCAD 2007 and i have a little question... i hope that someone can help me...

    I have an excel spreadsheet with information like coordinates, type of object (a blue light, a red light, some road sign (a stop,...)). is it possible to use this excel file as a database to export this to autocad. the only thing for me is that each type of object is on a different layer and appears as a point on AutoCAD: blue light => layer 1, red light =>layer 2,...

    I know that AutoCAD is powerfull but can he do this easily????


    thank you for your help,
    Greetings,
    Homer
    Last edited by homer; 2nd Oct 2007 at 08:32 am.

  2. #2
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    we get asked this 2 or three times a week

    did you read some of the existing threads?

    put exel or excel into your search as it's spelled both ways on the threads
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  3. #3
    Super Moderator SLW210's Avatar
    Computer Details
    SLW210's Computer Details
    Operating System:
    Windows 7 PRO
    Computer:
    IBM Lenovo
    Motherboard:
    ACPI x86
    CPU:
    Pentium(R) Dual-Core CPU E5500 @ 2.80GHz
    RAM:
    4 GB RAM
    Graphics:
    Nvidia Quadro 600 1GB
    Primary Storage:
    300 GB
    Secondary Storage:
    650GB
    Monitor:
    ThinkVision 22"
    Discipline
    Multi-disciplinary
    SLW210's Discipline Details
    Occupation
    Design Draftsman
    Discipline
    Multi-disciplinary
    Details
    Mostly do drafting related to manufacturing. From doing site layouts with proposed updates, additions and renovations to be budgeted and submitted for bid, to updating and changing existing drawings to reflect maintenance and repair/revision work done on site.
    Using
    AutoCAD 2011
    Join Date
    May 2007
    Location
    South Florida, USA
    Posts
    9,092

    Default

    Or scroll to the bottom of this thread to "Similar Threads".
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



  4. #4
    Junior Member homer's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2007
    Posts
    15

    Default

    i have already searched on the forum the related threads with keywords "excel" and ".xls" and "database"... but the only thing i have found is to concatenate my coordinates thanks to the excel command A1&","&B1... (and it works) i didn't found something concerning the organization of the element of my database on the layer depending of their attributes...
    Most of the threads are about the exportation of the spreadsheet itself to AutoCAD to have the table on the drawing...

    so if you know a way to do this or the link of a thread that i didn't see...

    thank you,
    Greetings
    Homer

  5. #5
    Junior Member homer's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2007
    Posts
    15

    Default

    well, i have changed my excel file...

    i have a column with the name if the object
    objectname
    then a column with the layername
    -layer s layername (to make the layer layername active to draw the point on it)
    and then a column with po xcoord,ycoord (to create a point with the coordinates

    but the problem is that "space" is not similar to "enter" for the command "Enter layer name to make current or <select object>:"

    i have -layer m layername but i should have "-layer m layername "enter" "enter" to quit the layer command and to create my point with "po"

    is there is a way to do with without using enter because i copy-paste my table in autoCAD...
    i don't know if i am clear... it's difficult to explain that...

    thank you,
    Homer

  6. #6
    Super Member Raggi_Thor's Avatar
    Using
    AutoCAD 2008
    Join Date
    Aug 2007
    Location
    Trondheim, NORWAY
    Posts
    718

    Default

    If you make a new column in Excel you can make the content like

    -LAYER MAKE LAYER1 COLOR 1

    POINT 123,456

    and so on.

    Then you can paste this to the command line or save as script and run it.
    There is a couple of extra Enters to quit the Layer command.
    If you are sure the layer exist you can use Layer Set, but Make will always work. Setting the color for each layer could be done just once.
    Mvh, Kvedja, Kind Regards,
    Ragnar Thor Mikkelsen
    http://www.DESIGNDATA.no/English.htm

  7. #7
    Junior Member homer's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2007
    Posts
    15

    Default

    The problem is that it seems to be impossible to organize a cell in this way with "enter" to go to the next line...

    or there's an option in excel to do this...

  8. #8
    Super Moderator Strix's Avatar
    Using
    not applicable
    Join Date
    Nov 2005
    Location
    Sheffield UK
    Posts
    3,074

    Default

    Bookmarking for FAQ

    looks like this is further info that needs adding to a more basic question
    Find your new best friend at Rain Rescue

    If you are a good drafter, tech will help. If you are a bad drafter, nothing will help. - Jack_O'neill at CADTutor

  9. #9
    Junior Member homer's Avatar
    Using
    AutoCAD 2007
    Join Date
    May 2007
    Posts
    15

    Default

    well, i have found the solution for inserting line in a cell of an excel spreadsheet... maybe many of you know how to do that but you only have to use [ALT]+[ENTER].

    It could be useful when you copy-paste an excel table in your command line.

    Hope it will help some members who are not familiar at all with excel...
    Last edited by homer; 3rd Oct 2007 at 09:06 am.

  10. #10
    Super Member Raggi_Thor's Avatar
    Using
    AutoCAD 2008
    Join Date
    Aug 2007
    Location
    Trondheim, NORWAY
    Posts
    718

    Default

    Registered forum members do not see this ad.

    In most commands in AutoCAD you can use space as enter, one space = one enter. In menumacros you can use ; as enter.
    Mvh, Kvedja, Kind Regards,
    Ragnar Thor Mikkelsen
    http://www.DESIGNDATA.no/English.htm

Similar Threads

  1. excel to autocad
    By nodavilp in forum AutoCAD General
    Replies: 14
    Last Post: 4th Sep 2012, 10:32 am
  2. AutoCAD lt to excel
    By ollylandandwater in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 23rd Mar 2007, 10:24 pm
  3. autocad to excel
    By magre17 in forum AutoLISP, Visual LISP & DCL
    Replies: 5
    Last Post: 15th Dec 2005, 07:59 pm
  4. AUTOCAD TO EXCEL????
    By msstrang in forum Catch All
    Replies: 2
    Last Post: 16th Aug 2005, 10:45 pm
  5. Autocad----Excel using VBA.... help!!!!!!
    By saint_love13 in forum AutoLISP, Visual LISP & DCL
    Replies: 2
    Last Post: 3rd Aug 2005, 01:28 am

Bookmarks

Posting Permissions

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