+ Reply to Thread
Results 1 to 8 of 8
  1. #1
    Senior Member Siberian's Avatar
    Computer Details
    Siberian's Computer Details
    Operating System:
    Windows 10
    Discipline
    HVAC
    Siberian's Discipline Details
    Occupation
    Engineer, HVAC
    Discipline
    HVAC
    Using
    Revit 2018
    Join Date
    Jul 2005
    Location
    Norway
    Posts
    455

    Default How to edit anonymous blocks?

    Registered forum members do not see this ad.

    I'm trying to edit a view-block for a multi-view part. But when looking at the different views in the multi-view part style dialog the view-blocks are all named U345 or some other number. This name can't be found in the list of blocks in the drawing, and so I'm not able to edit it. I've googled that blocks with this sort of name are called "anonymous blocks", but I still have no idea what to do about it to enable me to edit them....any ideas?
    If at first you don't succeed - remove all evidence you ever tried.

  2. #2
    Super Member CADMASTER1128's Avatar
    Computer Details
    CADMASTER1128's Computer Details
    Operating System:
    Windows 10, 64 - BIT OS
    Computer:
    Lenovo Y50
    CPU:
    Intel Core™ i7-4710HQ @ 3.40 GHz
    RAM:
    8 GB DDR3L
    Graphics:
    Intel HD Grapghics 4600 and NVIDIA GeForce GTX 860M + 3GB Video Memory
    Primary Storage:
    1TB + 8GB SSD
    Secondary Storage:
    WD MyCloud External - 2TB
    Monitor:
    15.6''
    Discipline
    Construction
    CADMASTER1128's Discipline Details
    Occupation
    Badger Construction
    Discipline
    Construction
    Details
    Shell Builds, Remodels, Custom Homes
    Using
    AutoCAD 2015
    Join Date
    Apr 2009
    Location
    Tampa, Florida
    Posts
    717

    Default

    Are you not able to select the block, then right click > "Edit Block In-Place" ?
    Using: AutoCAD 2015 (Vanilla)

    Tampa Bay Tech High School - Academy Of Architecture

    www.BadgerConstruction.com

  3. #3
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro K4200, 4GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2018
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    46,448

    Default

    Can you attach a copy of one of the blocks to your next post?

    *U### uniformly scaled blocks can be exploded with the EXPLODE command.
    Last edited by ReMark; 12th Jun 2014 at 02:01 pm.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

    I'm now a full member of the Society for the Promotion of Mediocrity in CAD. Standards? We don't need no stinkin' standards! Take whatever advice I offer and do the opposite.

  4. #4
    Forum Deity Organic's Avatar
    Discipline
    Civil
    Using
    AutoCAD not applicable
    Join Date
    Feb 2009
    Posts
    2,338

    Default

    I don't think they can be edited.

  5. #5
    Senior Member hertz hound's Avatar
    Computer Details
    hertz hound's Computer Details
    Operating System:
    windows 7
    Computer:
    Dell precision T1600
    Discipline
    Construction
    hertz hound's Discipline Details
    Occupation
    Electrician
    Discipline
    Construction
    Details
    Auto Cad as-built and coordination drawings when needed, otherwise in the field with the tools.
    Using
    MEP 2015
    Join Date
    Jan 2012
    Location
    USA - New Jersey
    Posts
    138

    Default

    I just tried What you are looking to do. I tried it with stock content and custom content. I was able to edit the view blocks that I tried, so I am not sure why it is not working for you?

    In the edit style dialog box, I looked for the different view blocks that were used by the part. They all started with the part name and ended with Uxxx view block name. I left that dialog box and typed BE to open the block editor. I chose the view block I wanted to edit from the list, and had no problem editing it.

    For the two MVparts I tried, I could not find the name of the top view block for plan view. I used the name of the view block for two line. I block edit that block by drawing an x across it, and saved it. It was not evident that I changed anything until I selected it and in the display tab of the properties pallet, changed it back and forth to "By object". It took to the update. it would not do that with a regen. Sometimes that happens with regular blocks where you have to switch it out with another block and back to notice a change. I have noticed that with Tags that use MVBlocks.

    I tried it with other top view blocks and the X only showed up when I did it to the two line block as above. The X also showed up without manipulation of the properties pallet when I changed the display rep to MEP two line.

    So the only thing I see as being weird is that the MVPart has no block listed as being the top view block for plan View in the edit style Dialog box, and I had to try several before it made a change.

  6. #6
    Senior Member Siberian's Avatar
    Computer Details
    Siberian's Computer Details
    Operating System:
    Windows 10
    Discipline
    HVAC
    Siberian's Discipline Details
    Occupation
    Engineer, HVAC
    Discipline
    HVAC
    Using
    Revit 2018
    Join Date
    Jul 2005
    Location
    Norway
    Posts
    455

    Default

    Quote Originally Posted by ReMark View Post
    Can you attach a copy of one of the blocks to your next post?

    *U### uniformly scaled blocks can be exploded with the EXPLODE command.
    These are screens of two different parts where one is OK, and the other is as I described.
    I have no idea why one behaves differently from the other...
    You see the part name at the top - they are both out of the box parts.

    Pic1.PNGPic2.PNG
    If at first you don't succeed - remove all evidence you ever tried.

  7. #7
    Quantum Mechanic ReMark's Avatar
    Computer Details
    ReMark's Computer Details
    Operating System:
    Windows 7 Pro 64-bit
    Computer:
    Thinkmate
    Motherboard:
    Intel DX58SO2 LGA1366 X58
    CPU:
    Intel i7-960 Quad-core 3.20GHz 8MB cache
    RAM:
    12GB (3x4GB) PC3-106000 DDR3
    Graphics:
    nVidia Quadro K4200, 4GB GDDR5
    Primary Storage:
    150GB Velocipraptor 10,000 rpm
    Secondary Storage:
    none
    Monitor:
    Dell P24LLH - 24" wide screen LCD
    Discipline
    See details...
    ReMark's Discipline Details
    Occupation
    CAD Draftsman/Designer...chemical manufacturing.
    Discipline
    See details below.
    Details
    I work for a specialty chemical manufacturer. I do a little bit of everything from P&IDs to civil to architectural and structural.
    Using
    AutoCAD 2018
    Join Date
    Nov 2005
    Location
    Norwalk, CT USofA
    Posts
    46,448

    Default

    Please see your private messages. Thank you.
    "I have only come here seeking knowledge. Things they wouldn't teach me of in college." The Police

    Eat brains...gain more knowledge!

    I'm now a full member of the Society for the Promotion of Mediocrity in CAD. Standards? We don't need no stinkin' standards! Take whatever advice I offer and do the opposite.

  8. #8
    Forum Newbie
    Using
    AutoCAD 2007
    Join Date
    Oct 2016
    Posts
    1

    Default

    Registered forum members do not see this ad.

    Quote Originally Posted by Siberian View Post
    I'm trying to edit a view-block for a multi-view part. But when looking at the different views in the multi-view part style dialog the view-blocks are all named U345 or some other number. This name can't be found in the list of blocks in the drawing, and so I'm not able to edit it. I've googled that blocks with this sort of name are called "anonymous blocks", but I still have no idea what to do about it to enable me to edit them....any ideas?
    I have collect a lisp.
    HTML Code:
     ;=============================================== 
     ;    UnAnon.Lsp                                   Jul 05, 1998 
     ;====================================== 
    (princ "\nCopyright © 1998, Fabricated Designs, Inc.")
    (princ "\nLoading UnAnon v1.0 ")
    (setq uan_     nil
          lsp_file "UnAnon"
    )
    
     ; ================== For Automated Calling From Another Program
     ; =========
    (defun uan_auto (ar1) (UnAnon ar1))
    
     ; ================== Macros
     ; =============================================
    (defun PDot () (princ "."))
    
    (PDot)
     ; ++++++++++++ Set Modes & Error
     ; ++++++++++++++++++++++++++++++++++
    (defun uan_smd ()
      (SetUndo)
      (setq	olderr	*error*
    	*error*	(lambda	(e)
    		  (and (/= e "quit / exit abort")
    		       (princ (strcat "\nError: *** " e " *** "))
    		  )
    		  (command "_.UNDO" "_END" "_.U")
    		  (uan_rmd)
    		)
    	uan_var	'(
    		  ("CMDECHO" . 0)
    		  ("MENUECHO" . 0)
    		  ("MENUCTL" . 0)
    		  ("MACROTRACE" . 0)
    		  ("OSMODE" . 0)
    		  ("SORTENTS" . 119)
    		  ("MODEMACRO" . ".")
    		  ("BLIPMODE" . 0)
    		  ("EXPERT" . 0)
    		  ("SNAPMODE" . 1)
    		  ("PLINEWID" . 0.0)
    		  ("ORTHOMODE" . 1)
    		  ("GRIDMODE" . 0)
    		  ("ELEVATION" . 0)
    		  ("THICKNESS" . 0)
    		  ("FILEDIA" . 0)
    		  ("FILLMODE" . 0)
    		  ("SPLFRAME" . 0)
    		  ("UNITMODE" . 0)
    		  ("TEXTEVAL" . 0)
    		  ("ATTDIA" . 0)
    		  ("AFLAGS" . 0)
    		  ("ATTREQ" . 1)
    		  ("ATTMODE" . 1)
    		  ("UCSICON" . 1)
    		  ("HIGHLIGHT" . 1)
    		  ("REGENMODE" . 1)
    		  ("COORDS" . 2)
    		  ("DRAGMODE" . 2)
    		  ("DIMZIN" . 1)
    		  ("PDMODE" . 0)
    		  ("CECOLOR" . "BYLAYER")
    		  ("CELTYPE" . "BYLAYER")
    		 )
      )
      (foreach v uan_var
        (setq m_v (cons (getvar (car v)) m_v)
    	  m_n (cons (car v) m_n)
        )
        (setvar (car v) (cdr v))
      )
      (princ (strcat (getvar "PLATFORM")
    		 " Release "
    		 (substr (ver) 18 2)
    		 " -  Convert To Anonymous Blocks ....\n"
    	 )
      )
      (princ)
    )
    
    (PDot)
     ; ++++++++++++ Return Modes & Error
     ; +++++++++++++++++++++++++++++++
    (defun uan_rmd ()
      (setq *error* olderr)
      (mapcar 'setvar m_n m_v)
      (command "_.UNDO" "_END")
      (prin1)
    )
    
    (PDot)
     ; ++++++++++++ Set And Start An Undo Group
     ; ++++++++++++++++++++++++
    (defun SetUndo ()
      (and (zerop (getvar "UNDOCTL"))
           (command "_.UNDO" "_ALL")
      )
      (and (= (logand (getvar "UNDOCTL") 2) 2)
           (command "_.UNDO" "_CONTROL" "_ALL")
      )
      (and (= (logand (getvar "UNDOCTL") 8) 8)
           (command "_.UNDO" "_END")
      )
      (command "_.UNDO" "_GROUP")
    )
    
    (PDot)
     ; ++++++++++++ Get Entity Name
     ; ++++++++++++++++++++++++++++++++++++
    (defun GetOne (/ st os)
      (setq	os (getvar "SNAPMODE")
    	s  nil
      )
      (setvar "SNAPMODE" 0)
      (while (not st)
        (setq st (ssget))
      )
      (while (> (sslength st) 1)
        (setq st nil)
        (princ "\nOnly 1 At A Time Please\n")
        (while (not st)
          (setq st (ssget))
        )
      )
      (setvar "SNAPMODE" os)
      (setq s (ssname st 0))
    )
    
    (PDot)
     ; ++++++++++++ Convert An Anonymous Block To Named Block
     ; ++++++++++
    (defun UnAnon (b / tdef en ed bc bn bd in) ;Supply ename 
      (setq	bn "TEMP1"
    	bc 1
      )
      (while (tblsearch "BLOCK" bn)
        (setq bc (1+ bc)
    	  bn (strcat "TEMP" (itoa bc))
        )
      )
      (and (= (type B) 'ENAME)
           (setq bd	(entget B)
    	     in	(cdr (assoc 2 bd))
           )
      )
      (if (or (not bd)
    	  (not in)
    	  (/= "INSERT" (cdr (assoc 0 bd)))
    	  (/= "*U" (substr in 1 2))
    	  (= (logand (cdr (assoc 70 (tblsearch "BLOCK" in))) 4) 4)
    	  (= (logand (cdr (assoc 70 (tblsearch "BLOCK" in))) 16) 16)
    	  (= (logand (cdr (assoc 70 (tblsearch "BLOCK" in))) 32) 32)
          )
        (progn
          (princ "*** Not An Anonomymous Block *** ")
          (setq bn nil
    	    bc nil
    	    bd nil
    	    in nil
    	    b  nil
          )
          (exit)
        )
      )
      (setq	tdef (tblsearch "BLOCK" in)
    	en   (cdr (assoc -2 tdef))
    	ed   (entget en)
      )
      (entmake (list (cons 0 "BLOCK")
    		 (cons 2 bn)
    		 (cons 70 0)
    		 (cons 10 (cdr (assoc 10 tdef)))
    	   )
      )
      (entmake ed)
      (while (setq en (entnext en))
        (setq ed (entget en))
        (entmake ed)
      )
      (entmake (list (cons 0 "ENDBLK")))
      (setq bd (subst (cons 2 bn) (assoc 2 bd) bd))
      (entmod bd)
      (entupd B)
      (princ (strcat "\n" bn))
    )
    
    (PDot)
     ; ************ Main Program
     ; ***************************************
    (defun uan_ (/ m_v m_n olderr uan_var s)
      (uan_smd)
      (GetOne)
      (UnAnon s)
      (uan_rmd)
    )
    
    (defun c:UnAnonall (/ ss i)
      (setq	ss (ssget "X"
    		  (list	(cons 0 "INSERT")
    			(cons 67
    			      (if (= (getvar "TILEMODE") 1)
    				0
    				1
    			      )
    			)
    		  )
    	   )
      )
      (and ss
           (setq i (sslength ss))
           (while (not (minusp (setq i (1- i))))
    	 (setq en (ssname ss i))
    	 (if (= "*U" (substr (cdr (assoc 2 (entget en))) 1 2))
    	   (UnAnon en)
    	 )
           )
      )
      (prin1)
    )
    
    (PDot)
     ; ************ Load Program
     ; ***************************************
    (defun C:UnAnon () (uan_))
    (if uan_
      (princ "\nUnAnon Loaded\n")
    )
    (prin1)
     ; ================== End Program
     ; ========================================

Similar Threads

  1. Explode anonymous block?
    By tzframpton in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 13
    Last Post: 24th Jun 2013, 02:34 pm
  2. A Weird Anonymous Block
    By BWells in forum AutoCAD 2D Drafting, Object Properties & Interface
    Replies: 15
    Last Post: 24th Feb 2010, 06:21 pm
  3. Is there a way to edit all blocks at once?
    By skipsophrenic in forum AutoLISP, Visual LISP & DCL
    Replies: 9
    Last Post: 15th Sep 2009, 09:20 pm
  4. Edit Blocks
    By frankie78 in forum AutoCAD Beginners' Area
    Replies: 3
    Last Post: 15th Aug 2008, 07:20 am
  5. anonymous dynamic block help
    By chulse in forum AutoCAD Drawing Management & Output
    Replies: 17
    Last Post: 11th Apr 2008, 01:46 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