Results 1 to 4 of 4

Thread: Extract entities from Xref

  1. #1
    Member
    Join Date
    2003-12
    Posts
    7
    Login to Give a bone
    0

    Unhappy Extract entities from Xref

    Selecting the Xref, how can I extract the entities belonging to that Xref, using ActiveX ?

  2. #2
    I could stop if I wanted to
    Join Date
    2003-05
    Posts
    335
    Login to Give a bone
    0

    Default Re: Extract entities from Xref

    An Xref is a reference to another file. What do you mean "extract the entities belonging to that Xref"?

    Could you be more specific?

  3. #3
    I could stop if I wanted to
    Join Date
    2002-02
    Location
    Kansas
    Posts
    487
    Login to Give a bone
    0

    Default Re: Extract entities from Xref

    If you have Express Tools Checl out the ncopy command

    You can look in trexblk.lps and see how autocad did it in lisp

    I think you would do it this way
    step 1 get the AcadDatabase of the xRef
    Step 2 make a array's of the object in the AcadDataBase you need
    step 3 use the copyobject method to copy the array's of object

  4. #4
    All AUGI, all the time CAB2k's Avatar
    Join Date
    2016-01
    Location
    Brandon, Florida
    Posts
    687
    Login to Give a bone
    0

    Default Re: Extract entities from Xref

    You will want to take a look at this routine I scooped from autodesk forum some time back.
    Attached Files Attached Files

Similar Threads

  1. Extract corridor feature lines through XRef
    By Wish List System in forum Civil 3D Wish List
    Replies: 0
    Last Post: 2013-08-12, 01:42 PM
  2. extract xref name-path to text file
    By johnccole in forum AutoLISP
    Replies: 4
    Last Post: 2008-01-25, 12:20 PM
  3. Replies: 1
    Last Post: 2006-04-23, 06:16 PM
  4. Extract entity information from within an xref
    By marc.primaroh in forum AutoLISP
    Replies: 2
    Last Post: 2006-04-10, 11:34 AM
  5. Trim to Xref Entities
    By jchavez76 in forum AutoCAD General
    Replies: 20
    Last Post: 2004-11-17, 02:03 AM

Posting Permissions

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