ssget question for blocks

Discussion in 'AutoCAD' started by Jeffrey K. Ries, Feb 23, 2004.

  1. I am attempting to create a command similar to EB from the good 'ol Softdesk
    days. I love the new refedit command and I intent to use it in this
    routine, but it does not work well with scaled blocks.

    The first thing I am trying to do is a ssget with filter to select only one
    block.

    I have used ssget many times for lines, polylines and the like but every
    word combination for block (block, blkref, reference, etc.) is not working.

    Can ssget not be used to filter to blocks or have I just not found it yet?

    The commands humble beginnings:

    (defun c:EB ()
    (setq blkent (SSGET "_:S" '((0 . "block"))))
    (vl-cmdf "._-insert" blkent PAUSE)
    )
     
    Jeffrey K. Ries, Feb 23, 2004
    #1
  2. Jeffrey K. Ries

    Rudy Tovar Guest

    (ssget '((0 . "INSERT")))
     
    Rudy Tovar, Feb 23, 2004
    #2
  3. A graphical representation of a block is an INSERT.
     
    Jason Piercey, Feb 23, 2004
    #3
  4. Got it.
    Thank you both.

    Jeffrey K. Ries


     
    Jeffrey K. Ries, Feb 23, 2004
    #4
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.