all objects in the drawing see

Discussion in 'AutoCAD' started by Erik Droog, Jul 21, 2004.

  1. Erik Droog

    Erik Droog Guest

    As far as I know you only delete the ENTITY's in modelspace with this
    command.
    There could still be some paperspace object and other object like block
    defenitions. A modelspace object is a refference to a block in the blocks
    collection. They still exist in the drawing.
     
    Erik Droog, Jul 21, 2004
    #1
  2. Erik Droog

    MP Guest

    dictionaries
    layer filters
    paperspace layouts etc etc
     
    MP, Jul 21, 2004
    #2
  3. Hallo,
    I have a little mechanical 2000-drawing with 149 objects and the size is 531
    kB.
    I delete all objects with:
    For i = 0 To ThisDrawing.ModelSpace.Count - 1
    ThisDrawing.ModelSpace.Item(i).Delete
    Next i
    With the acad-command: audit I get the information that 4900 objects
    exist.
    But I have in the drawing not a object. The size from the drawing is now 466
    kB.

    Now my question: How can I see the 4900 objects with VBA?

    Thanks.

    Hartmut Callies
     
    Hartmut Callies, Jul 21, 2004
    #3
  4. Hello,
    I´m absolute sure that all objects delete, also objects from paperspace and
    blocks.
    I also delete all objects manuell in autocad (modellpace, paperspace) and
    then I have clear the drawing! The drawing have now 4900 objects.
    This objects I search with VBA.

    Hartmut Callies

    ______________________________________________________________________
     
    Hartmut Callies, Jul 21, 2004
    #4
  5. You have to take into account all layers, unnamed blocks, dimstyles,
    dictionaries, etc...
     
    Jorge Jimenez, Jul 21, 2004
    #5
Ask a Question

Want to reply to this thread or ask your own question?

You'll need to choose a username for the site, which only take a couple of moments (here). After that, you can post your question and our members will help you out.