+ Reply to Thread
Results 1 to 2 of 2
  1. #1
    Full Member
    Using
    AutoCAD 2009
    Join Date
    Mar 2009
    Posts
    75

    Default object selection

    Registered forum members do not see this ad.

    In event reactor functions dealing with object appended, object erased events. When ever a new object is added or erased I want to re number all the existing objects in the drawing. but for this I need to select all the text (lying on a specific layer) objects in the drawing. SSGET is not allowd to be used in a reactor so how canI select the text objects any suggestion? Any code sample would be a big help.

    Thanks.

  2. #2
    Quantum Mechanic Lee Mac's Avatar
    Computer Details
    Lee Mac's Computer Details
    Operating System:
    Windows 7 Ultimate (32-bit)
    Discipline
    Multi-disciplinary
    Lee Mac's Discipline Details
    Discipline
    Multi-disciplinary
    Details
    Custom Programming / Software Customisation
    Using
    AutoCAD 2013
    Join Date
    Aug 2008
    Location
    London, England
    Posts
    19,366

    Default

    Registered forum members do not see this ad.

    Perhaps use a VL method:

    Code:
    (vlax-for lay (vla-get-layouts
                    (vla-get-ActiveDocument
                      (vlax-get-acad-object)))
      (vlax-for Obj (vla-get-Block lay)
        ... do something...
    Lee Mac ProgrammingTwitterExchange App StoreDropbox (500MB free)

    With Mathematics there is the possibility of perfect rigour, so why settle for less?

Similar Threads

  1. Object selection and layer property toolbar problems. PLEASE HELP!
    By billville in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 16th Nov 2016, 04:23 pm
  2. macro to scale selected object at point of selection
    By chelsea1307 in forum AutoLISP, Visual LISP & DCL
    Replies: 10
    Last Post: 25th Jun 2009, 11:57 pm
  3. object selection issues
    By salman in forum AutoCAD General
    Replies: 3
    Last Post: 18th May 2009, 03:48 pm
  4. help with object selection
    By S.T.A.R.S.MEMBER in forum AutoCAD Drawing Management & Output
    Replies: 1
    Last Post: 29th Mar 2006, 12:02 am
  5. Object isolation and selection
    By Resident Alien in forum AutoCAD Drawing Management & Output
    Replies: 6
    Last Post: 7th Nov 2005, 06:23 pm

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