+ Reply to Thread
Results 1 to 5 of 5

Thread: Zoom extents

  1. #1
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    Aug 2008
    Posts
    4

    Default Zoom extents

    Registered forum members do not see this ad.

    Hey everybody, I consider myslef an intermediate Cad user, I am using AutoCad 2009. When i try to zoom all in the drawing it zooms everything, but there is something still in the drawing that I can't find. I have searched and haven't found anything that works. When I zoom out of the drawing and window everything there are no other entities in the drawing. I have opened every block and made sure that there were no random entities in them. I deleted all unused blocks and I deleted a couple blocks that had nothing in them. I have purged the drawing, every layer is on, unthawed, unlocked, and still nothing. I have been searching the web for over an hour with no luck. I am unsure what else to try, this isn't a really a problem, it is more of a nuisance than anything else. I am out of ideas, anybody have any?

    Thanks,
    Brad

  2. #2
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Try Erase > All > Remove > {window the elements you want to keep}
    and/or try this
    Code:
    ; Delete Null Objects
    ;; DelNul.lsp   
    ;; Deletes nul lines of Text, Mtext & Blocks.
    ;; Modified by JL Thomas 12/02/97 
    
    (Defun C:DelNul ( / TXT BLK NB NAMES)
      (if(setq TXT (ssget "X" '((-4 . "<and")(-4 . "<or")
                               (0 . "MTEXT")(0 . "TEXT")
                               (-4 . "or>")(-4 . "<or")
                               (1 . "")(1 . " ")(1 . "  ")(1 . "   ")
                               (1 . "{}")(1 . "{ }")(1 . "{  }")(1 . "{   }")
                               (1 . "{}\P")(1 . "{ }\P")(1 . "{  }\P")(1 . "{   }\P")
                               (-4 . "or>")(-4 . "and>"))))
      (progn
        (command"_erase"TXT"")
        (princ(strcat"\n  "(itoa(sslength TXT))" nul text strings deleted. "))
       )
      (princ"\n  No nul text strings found. "))
    
      (setq BLK(tblnext"BLOCK"T)NAMES nil)
      (while BLK
        (if(=(cdr(assoc 0(entget(cdr(assoc -2 BLK)))))"ENDBLK")
        (progn
          (if(setq NB(ssget "X" (list(assoc 2 BLK))))
          (command"_erase"NB"")
           )
        (setq NAMES(cons(cdr(assoc 2 BLK))NAMES))
         )
       )
      (setq BLK(tblnext"BLOCK"))
      )
      (if NAMES
        (progn(textscr)
        (princ"\n  Nul blocks found and need purging: ")
        (foreach X NAMES(princ"\n    ")(princ X))
       )
      (princ"\n  No nul blocks found. ")
      )
    (princ)
    )
    (c:DelNul)

  3. #3
    Luminous Being dbroada's Avatar
    Computer Details
    dbroada's Computer Details
    Operating System:
    XP Pro
    Computer:
    Dell
    CPU:
    Intel Xeon 2.13GHz
    RAM:
    2GB
    Graphics:
    NVIDA Quadro FX 580
    Monitor:
    DELL 23" & SAMSUNG 21"
    Discipline
    Electro/Mech
    dbroada's Discipline Details
    Occupation
    Design Engineer
    Discipline
    Electro/Mech
    Using
    Electrical 2013
    Join Date
    Nov 2005
    Location
    Sussex, UK
    Posts
    5,059

    Default

    I select all (ctrl-A), remove all I can see and ERASE what's left.

    You sometimes get NUL text or lines of 0 length which aren't always easy to erase.
    "That's it. It's one thing for a ghost to terrorize my children, but quite another for him to play my Theremin." Homer Simpson

    Dave

  4. #4
    Forum Newbie
    Using
    AutoCAD 2009
    Join Date
    Aug 2008
    Posts
    4

    Default

    Thanks, the erase > all > remove command worked. Hopefully this will work for the rest of the drawings that have this. Does anyone know why I couldn't highlight or select any of the entities that I deleted?

    Thanks,
    Brad

  5. #5
    Forum Deity
    Using
    Civil 3D 2008
    Join Date
    Sep 2006
    Location
    Pittsburgh, PA, USA
    Posts
    3,581

    Default

    Registered forum members do not see this ad.

    It might have been a piece of null text (no characters). If you turn on Qtext you can see/select them.

Similar Threads

  1. Zoom, Extents
    By cadmench in forum AutoCAD Beginners' Area
    Replies: 8
    Last Post: 18th Jun 2009, 01:33 pm
  2. zoom extents
    By richjamesw in forum AutoCAD Drawing Management & Output
    Replies: 13
    Last Post: 17th Aug 2007, 01:34 pm
  3. Zoom Extents
    By Eche1on in forum AutoCAD Drawing Management & Output
    Replies: 4
    Last Post: 15th Sep 2006, 07:18 pm
  4. zoom extents macro
    By jabo55 in forum AutoLISP, Visual LISP & DCL
    Replies: 4
    Last Post: 18th Apr 2006, 06:50 pm
  5. Where have my Zoom Extents gone?
    By JULES in forum AutoCAD Drawing Management & Output
    Replies: 2
    Last Post: 2nd Mar 2006, 05:51 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