Delete mtext objects

Discussion in 'AutoCAD' started by Chip Harper, Jul 8, 2003.

  1. Chip Harper

    Chip Harper Guest

    I need to delete two unselectable mtext objects, this is where I'm at ....

    (command "erase" (ssget "X" (0."mtext"))"")

    Assistance is appreciated. :)
     
    Chip Harper, Jul 8, 2003
    #1
  2. Jason Piercey, Jul 8, 2003
    #2
  3. That will work for empty strings, but doesn't do a thing
    for strings that are made up of spaces.
     
    Jason Piercey, Jul 8, 2003
    #3
  4. Chip Harper

    Chip Harper Guest

    This was a special need for a special problem, which is now resolved. :)
     
    Chip Harper, Jul 8, 2003
    #4

  5. To get empty strings _and_ those which are made up of spaces,
    you can use this: (ssget "X" '((0 . "MTEXT")(1 . ", ")))

    Stephan
     
    Stephan ONEDOT Koster AT cadworks ANOTHERDOT de, Jul 9, 2003
    #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.