Results 1 to 3 of 3

Thread: Add last entity created to selection set

  1. #1
    Member
    Join Date
    2003-02
    Location
    Calgary, AB
    Posts
    44
    Login to Give a bone
    0

    Default Add last entity created to selection set

    I'm trying to create preview option in my program and want to add entities to a selection set as they are created so I can easily delete them.

  2. #2
    Administrator Ed Jobe's Avatar
    Join Date
    2000-11
    Location
    Turlock, CA
    Posts
    6,416
    Login to Give a bone
    0

    Default Re: Add last entity created to selection set

    If you look at help for the SelectionSet.AddItems method, you will see that it adds item(s) using a variant array. So as you create an item, add the objec to an array. When you get ready to delete the objects, create a selectionset and then add the array.
    C:> ED WORKING....


    LinkedIn

  3. #3
    Member
    Join Date
    2003-02
    Location
    Calgary, AB
    Posts
    44
    Login to Give a bone
    0

    Default Re: Add last entity created to selection set

    Woops. Of course the actual object.

    I was thinking of the "last" object being added to the selection set as in Lisp.

Similar Threads

  1. Replies: 20
    Last Post: 2015-03-16, 10:59 PM
  2. Replies: 6
    Last Post: 2012-05-01, 07:40 PM
  3. entity selection
    By mdsalman2003 in forum AutoLISP
    Replies: 1
    Last Post: 2010-06-30, 08:52 PM
  4. Sub entity slection within a selection set?
    By voigtmark in forum AutoLISP
    Replies: 5
    Last Post: 2010-03-02, 05:29 PM
  5. Create a Selection Set of Entities as They are Created
    By autocad.wishlist1734 in forum AutoCAD Wish List
    Replies: 0
    Last Post: 2008-10-12, 06:37 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
  •