+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Forum Newbie
    Using
    AutoCAD 2004
    Join Date
    Oct 2008
    Posts
    1

    Smile Extracting points from line, polylines, arcs etc into excel using VBA

    Registered forum members do not see this ad.

    Hi I usually have drawings with lots of line, polyline, arcs etc. I would like to extract the coordinate points that form them automatically into Excel using VBA.

    However, many books I come across teach how to create drawings using VBA but not to extract data from drawings using VBA. As such I am not be able to find a good example that does this.

    I would like to be able to select the lines, polyline etc that I want from the drawing. And have the VBA code go through each item in the selection set and outputs the coordinates into excel.

    Can anyone provide me with some code to do this?
    Thank You
    Roy

  2. #2
    Senior Member borgunit's Avatar
    Using
    Mechanical 2006
    Join Date
    May 2007
    Location
    Ohio USA
    Posts
    287

    Default

    Registered forum members do not see this ad.

    AutoCAD Mechanical 2006
    XP PRO SP3
    http://mechcad-insider.blogspot.com/

Similar Threads

  1. Help:batch extracting attributes to excel
    By liuliu in forum AutoLISP, Visual LISP & DCL
    Replies: 0
    Last Post: 28th Apr 2008, 03:13 pm
  2. Replies: 0
    Last Post: 12th Sep 2006, 08:57 pm
  3. Polylines and arcs
    By steamwise in forum AutoCAD Beginners' Area
    Replies: 8
    Last Post: 27th Aug 2006, 08:38 am
  4. intersection points between line and a group of polylines
    By motee-z in forum AutoLISP, Visual LISP & DCL
    Replies: 3
    Last Post: 27th Mar 2006, 04:55 pm
  5. Replies: 12
    Last Post: 10th Jul 2005, 06:00 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