See the top rated post in this thread. Click here

Results 1 to 3 of 3

Thread: Retrieving XDATA from entities in an XREF

  1. #1
    Member
    Join Date
    2013-11
    Posts
    36
    Login to Give a bone
    0

    Default Retrieving XDATA from entities in an XREF

    I'm having problems figuring out how to extract my extended entity data from an xref. I can obtain the entity name and dxf codes, but not the extended data I've placed in it.
    Any suggestions?

    Thanks.

  2. #2
    I could stop if I wanted to
    Join Date
    2002-08
    Posts
    231
    Login to Give a bone
    1

    Default Re: Retrieving XDATA from entities in an XREF

    Try with this:
    Code:
    (cdr (assoc -3 (entget (car (nentsel)) (list "*"))))

  3. #3
    Member
    Join Date
    2013-11
    Posts
    36
    Login to Give a bone
    0

    Default Re: Retrieving XDATA from entities in an XREF

    Thanks! That was the bit I was missing.

Similar Threads

  1. Lisp file to delete All Xdata from selected entities regardless app name
    By diaa.caliph423218 in forum Bridging the Gap: LISP -> .NET -> LISP
    Replies: 1
    Last Post: 2015-09-29, 08:33 PM
  2. Replies: 6
    Last Post: 2015-08-31, 04:05 PM
  3. Replies: 1
    Last Post: 2007-06-06, 10:25 PM
  4. Trim to Xref Entities
    By jchavez76 in forum AutoCAD General
    Replies: 20
    Last Post: 2004-11-17, 02:03 AM
  5. Extract entities from Xref
    By rajat126 in forum AutoLISP
    Replies: 3
    Last Post: 2004-08-30, 02:17 PM

Posting Permissions

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