+ Reply to Thread
Results 1 to 1 of 1
  1. #1
    Full Member
    Using
    AutoCAD 2012
    Join Date
    Feb 2010
    Posts
    46

    Default Anonymous block?

    Registered forum members do not see this ad.

    What is an Anonymous block? Thx. How do I delete this thread?

    Code:
                        Using tr
                            Dim bt As BlockTable = DirectCast(tr.GetObject(DB.BlockTableId, OpenMode.ForRead), BlockTable)
                            For Each btrid As ObjectId In bt
                                Dim btr As BlockTableRecord = DirectCast(tr.GetObject(btrid, OpenMode.ForRead), BlockTableRecord)
                                If Not btr.IsAnonymous And Not btr.IsLayout Then
    Last edited by shirazbj; 14th Apr 2012 at 10:36 am.

Similar Threads

  1. How can i find text in a block..
    By Arin9916 in forum AutoLISP, Visual LISP & DCL
    Replies: 16
    Last Post: 15th Jul 2011, 12:49 pm
  2. How can i ALWAYS find a given block?
    By Cholomanchuten in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 24th Jun 2010, 06:55 pm
  3. block find
    By klpocska in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 24th Feb 2010, 04:50 pm
  4. I Can Not Find Block
    By ENGOMAR in forum MEP
    Replies: 0
    Last Post: 20th Oct 2009, 01:33 pm
  5. Block Find
    By Glen Smith in forum AutoLISP, Visual LISP & DCL
    Replies: 13
    Last Post: 15th Jul 2009, 10:40 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