HI
I need some help regarding block’s
Look at this special shape called *u54, I like to make a new block and replace it whit a new block
Shape, but AutoCAD are not aloud med to give a name *U54.
I can’t see this block in the block library
Cane someone help me out regarding this special block
Regards
Henrik
Solved! Go to Solution.
Solved by Henrik_Lo. Go to Solution.
Solved by 3wood. Go to Solution.
Hi
A block named *Uxx is anonymous block for Autocad, they are created when a dynamic block is modified, it's Autocads way of keeping track of different parameter values in block of same type.
You'll have to open the original block and resave it as a new block.
Here's a related topic:
http://forums.autodesk.com/t5/Dynamic-Blocks/U-anonymous-block-handles/td-p/3142278
And another Lisp for renaming anonymous blocks:
(defun C:RenABlock () (prompt "\nSelect anonymous block:") (setq old_name (cdr (assoc 2 (entget (car (entsel)))))) (setq new_name (strcat "New block-" (substr old_name 2))) (vla-put-Name (vla-item (vla-get-Blocks (vla-get-ActiveDocument (vlax-get-acad-object) ) ) old_name) new_name) )
Pick anonymous block and get it renamed to "New block- OLD_ANONYMOUS_BLOCK_NAME"
Maxim
Maxim,
Thanks for posting that handy little routine. I was surprised to discover that once the name of a modified dynamic block (one with an "anonymous" name) is changed you can then insert a copy of the "new" block definition, which is now non-dynamic (while any other versions of the DB remain dynamic). Apparently the renaming breaks the link to the original DB (just as running RefEdit would). That makes for a handy shortcut for creating a static block based on a certain instance of a dynamic one.
Note that the routine will rename a block regardless of whether it has an "anonymous" name or not (IOW it's not exclusively for modified dynamic blocks). If you add a check for the "*" (asterisk) at the beginning of the "old_name", it could be made into a nice utility for renaming "only" DBs.