+ Reply to Thread
Results 1 to 6 of 6
  1. #1
    Forum Newbie
    Using
    AutoCAD 2004
    Join Date
    Apr 2007
    Posts
    1

    Wink ID command coordinates to table

    Registered forum members do not see this ad.

    Is there any way to go round an autocad site plan using the ID command and have the coordinates registered automatically to a table in Autocad 2004

  2. #2
    Forum Deity
    Using
    not specified
    Join Date
    Jul 2004
    Location
    Anchorage, Alaska
    Posts
    2,074

    Default

    No, not without an add-on like LDD or Civil 3D, or a custom Lisp or VBA routine.

  3. #3
    Banned Alan Cullen's Avatar
    Using
    Map 3D 2009
    Join Date
    Jun 2006
    Location
    Cairns, Queensland, Australia
    Posts
    4,181

    Default

    PM me your email address.....I'll send you a lisp routine that will do what you're after.

  4. #4
    Super Member ASMI's Avatar
    Using
    AutoCAD 2008
    Join Date
    Nov 2005
    Location
    Oceanus Procellarum, Moon
    Posts
    1,427

    Default

    Try this routine.

    Code:
    (defun c:ptt(/ curPt txtObj vlaTxt)
      (vl-load-com)
      (setq curPt T)
      (while curPt
        (if
          (and
            (setq curPt
    	      (getpoint "\nPick point > "))
    	(setq txtObj
    	       (nentsel "\nSelect Text, MText or Attribute > "))
    	); end and
          (progn
    	(if
    	  (member
    	    (vla-get-ObjectName
    	      (setq vlaTxt(vlax-ename->vla-object(car txtObj))))
    	    '("AcDbText" "AcDbMText" "AcDbAttribute"))
    	    (progn
    	      (if
    		(vl-catch-all-error-p
    		  (vl-catch-all-apply
    		    'vla-put-TextString
    		    (list vlaTxt
    			  (strcat(rtos(car curPt))
    				 ","(rtos(cadr curPt))))))
    		(princ "\nText on locked layer! ")
    		); end if
    	      ); end progn
    	    (princ "\nIt isn't Text, MText or Attribute! ")
    	    ); end if
    	); end progn
          ); end if
        ); end while
      (princ)
      ); end of c:ptt

  5. #5
    Forum Newbie
    Using
    AutoCAD 2012
    Join Date
    Mar 2013
    Posts
    1

    Default

    what command for this

  6. #6
    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,099

    Default

    Registered forum members do not see this ad.

    Looks like PTT.

    Code:
    defun c:ptt
    “A narrow mind and a fat head invariably come on the same person” Zig Zigler



Similar Threads

  1. Using a Table for a BOM?
    By Luvrbcs in forum AutoCAD Drawing Management & Output
    Replies: 13
    Last Post: 13th Feb 2007, 07:22 pm
  2. Replies: 0
    Last Post: 2nd Nov 2006, 11:51 pm
  3. Table Properties
    By gw4100 in forum AutoCAD General
    Replies: 4
    Last Post: 2nd Oct 2006, 05:57 pm
  4. hyperlinks in a table
    By fuccaro in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 3rd May 2006, 05:23 am
  5. Excell table in to 2000 LT
    By Dan in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 9th Oct 2002, 02:40 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