Results 1 to 2 of 2

Thread: Anonymous Block Name

  1. #1
    Join Date
    Login to Give a bone

    Default Anonymous Block Name

    I am having issues with some of my Dynamic blocks. I understand that the Anonymous names are Autocads way of keeping the block definitions separate. Is there anyway to rename these Anonymous names to something that makes sense instead of *U11, *U4..etc.

    I have found a few lisp routines that will pull out a count of blocks for me, straight to excel with the format that I want. My Dynamic blocks that a lot of time has been invested in are coming up as the Anonymous names not what the Visibility State that they actually are, or even the name of the block. I would rather spend the time adjusting the Anonymous names to mean something rather then recreate all my blocks as not dynamic.

  2. #2
    Administrator BlackBox's Avatar
    Join Date
    Login to Give a bone

    Default Re: Anonymous Block Name

    You might consider feeding the EffectiveName Property value (of the Block's Vla-Object) to your Excel spreadsheet.

    EffectiveName Property example
    (defun c:TEST (/ e)
      (if (and (setq e (car (entsel "\n  >>  Select a Block: ")))
               (= "INSERT" (cdr (assoc 0 (entget e)))))
        (prompt (strcat "\n  >>  EffectiveName = \""
                          (vlax-ename->vla-object e))
        (prompt "\n  <!>  Object Selected is Not a Block  <!>"))
    Hope this helps!
    "How we think determines what we do, and what we do determines what we get."

    Sincpac C3D ~ Autodesk Exchange Apps

    Computer Specs:
    Dell Precision 3630, Core i9-9900K 5.0GHz, 128GB RAM, Samsung 970 Pro M.2, 8GB NVIDIA Quadro P4000

Similar Threads

  1. test for anonymous block
    By KevinBarnett in forum VBA/COM Interop
    Replies: 9
    Last Post: 2016-03-08, 04:50 PM
  2. Anonymous Block Names Stumping SSX and BLOCKREPLACE...
    By swojtynek408932 in forum CAD Management - General
    Replies: 4
    Last Post: 2013-09-16, 07:52 PM
  3. Replies: 14
    Last Post: 2010-03-15, 02:42 PM
  4. Anonymous Block Created when exploding or pasting
    By limartin in forum AutoCAD General
    Replies: 4
    Last Post: 2009-10-08, 01:51 PM
  5. Anonymous block ?!!
    By Algyyys in forum AutoCAD General
    Replies: 3
    Last Post: 2009-05-18, 10:42 AM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts