Results 1 to 4 of 4

Thread: Getting a GRIP on selection sets....

  1. #1
    Member
    Join Date
    2000-11
    Location
    Atlanta, GA
    Posts
    48
    Login to Give a bone
    0

    Question Getting a GRIP on selection sets....

    I have some objects with XData attached. When you GRIPEDIT it I want an event to occur.

    I've gotten this far by catching the BeginCommand and checking to see if "GRIP" is contained in the CommandName...

    If I use acSelectPrevious to add it to the selection set, it works most of the time.... Every once in a while I get a recently placed object of the same type with the same XData.

    I do set everything to Nothing when I'm done so there should not be any residual variables set.

    How do I tell VBA to use the object that is currently selected with a hot grip?


    Thanks.
    Matthew

  2. #2
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Getting a GRIP on selection sets....

    Do you delete the named selection set at the end of the prior run (or empty it 1st in the current run)?

  3. #3
    Member
    Join Date
    2000-11
    Location
    Atlanta, GA
    Posts
    48
    Login to Give a bone
    0

    Default Re: Getting a GRIP on selection sets....

    Yep... Mom always taught me to clean up after myself....

  4. #4
    The Silent Type RobertB's Avatar
    Join Date
    2000-01
    Location
    Seattle WA USA
    Posts
    5,859
    Login to Give a bone
    0

    Default Re: Getting a GRIP on selection sets....

    Rats. That was the easy answer. Grips have been a black hole to the object model.

Similar Threads

  1. Replies: 1
    Last Post: 2015-04-05, 03:26 AM
  2. 2014: Multiple grip selection
    By tim_newsome in forum AutoCAD General
    Replies: 3
    Last Post: 2013-10-30, 01:53 PM
  3. highlight and grip selection
    By humberto in forum VBA/COM Interop
    Replies: 6
    Last Post: 2009-11-10, 08:10 AM
  4. Enhanced Grip selection
    By cadkiller in forum ACA Wish List
    Replies: 1
    Last Post: 2004-11-08, 04:37 PM
  5. Help relating to selection and selection sets
    By csgohjmj in forum AutoLISP
    Replies: 3
    Last Post: 2004-09-17, 03:35 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
  •