+ Reply to Thread
Results 1 to 3 of 3
  1. #1
    Junior Member
    Using
    AutoCAD 2011
    Join Date
    Apr 2011
    Posts
    11

    Default VBA Selection Set Issue

    Registered forum members do not see this ad.

    Hey gang!

    Quick question (hopefully)....

    Would there be any reason why several block references with (Locked and Constant) attributes do not get added to a Selection Set created using the
    Code:
    .Select acSelectionSetWindow
    method? It's picking up all of the other items including block references, text, and even a block reference with an attribute that is not locked nor constant. The problem blocks are right in the middle of the window surrounded by everything else that is getting added.

    I am not attempting to use a filter.

    I am using AutoCAD 2012.

  2. #2
    Junior Member
    Using
    AutoCAD 2011
    Join Date
    Apr 2011
    Posts
    11

    Default

    I figured it out. A bit of information that might have been useful in hindsight would be that all of the blocks were just inserted prior to this part of the routine. Well, in order to pick up the finicky blocks, I had to loop through all of the blocks and refresh them. I guess this would be to get them properly situated in the library. Anyway, that's all it was--just needed a refresh.

  3. #3
    Full Member
    Discipline
    Electrical
    btraemoore's Discipline Details
    Occupation
    Electrical Designer
    Discipline
    Electrical
    Using
    Electrical 2012
    Join Date
    Apr 2012
    Location
    Houston
    Posts
    55

    Default

    Registered forum members do not see this ad.

    try

    application.update


Similar Threads

  1. Issue with selection
    By BigGeeRam666 in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 8th Mar 2010, 08:22 am
  2. Selection Box Issue
    By tdole in forum AutoCAD General
    Replies: 1
    Last Post: 30th Jul 2009, 08:21 am
  3. Selection Issue
    By johnengineer in forum AutoCAD Beginners' Area
    Replies: 2
    Last Post: 16th Jul 2008, 12:15 am
  4. Selection Issue:
    By CADken in forum AutoCAD Beginners' Area
    Replies: 4
    Last Post: 5th Jun 2007, 04:08 pm
  5. Selection Issue
    By CADken in forum AutoCAD Drawing Management & Output
    Replies: 6
    Last Post: 25th May 2007, 02:05 pm

Tags for this Thread

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