• Industries
  • Products
  • Buy
  • Services & Support
  • Communities
  • Visual LISP, AutoLISP and General Customization

    Reply
    *Nielsen, Svend

    How to find a block in a drawing

    113 Views, 3 Replies
    05-02-2001 03:56 PM
    Does anyone know how to find a certain block by LISP (name i known) in a
    drawing ?

    The block may be inserted several times and may be inserted in top of
    another with same symbol, but different attribute content.

    Thanks in advance

    --
    Svend Nielsen
    Please use plain text.
    *Tovar, Rudy

    Re: How to find a block in a drawing

    05-02-2001 06:05 PM in reply to: *Nielsen, Svend
    What's the purpose?

    (setq ss (ssget 'x' '((0 . "insert")(2 . ))))

    --

    Rudy@Cadentity.com
    Practical Utilities for Productive Solutions
    New Site, Better Service!
    More Utilities Under Development...
    www.Cadentity.com

    Svend Nielsen wrote in message
    news:4C7464653191106BF43548CC04E69174@in.WebX.maYIadrTaRb...
    > Does anyone know how to find a certain block by LISP (name i known) in a
    > drawing ?
    >
    > The block may be inserted several times and may be inserted in top of
    > another with same symbol, but different attribute content.
    >
    > Thanks in advance
    >
    > --
    > Svend Nielsen
    >
    Please use plain text.
    *Roman

    Re: How to find a block in a drawing

    05-03-2001 01:58 PM in reply to: *Nielsen, Svend
    Svend,
    There is a routine that was listed in the last issue of Cadalyst magazine
    www.cadonline.com/code that you can download from there web site. When the
    routine is run it will draw a line to all instances of the block in the
    drawing. Hope it helps.

    Svend Nielsen wrote in message
    news:4C7464653191106BF43548CC04E69174@in.WebX.maYIadrTaRb...
    > Does anyone know how to find a certain block by LISP (name i known) in a
    > drawing ?
    >
    > The block may be inserted several times and may be inserted in top of
    > another with same symbol, but different attribute content.
    >
    > Thanks in advance
    >
    > --
    > Svend Nielsen
    >
    Please use plain text.
    *Nielsen, Svend

    Re:

    05-03-2001 04:10 PM in reply to: *Nielsen, Svend
    The purpose is to find the symbol among 100-200 other blocks which may look
    very the same.

    Svend
    "Rudy Tovar" skrev i en meddelelse
    news:B98EB4D10B9760BE4EADB818553F6F65@in.WebX.maYIadrTaRb...
    > What's the purpose?
    >
    > (setq ss (ssget 'x' '((0 . "insert")(2 . ))))
    >
    > --
    >
    > Rudy@Cadentity.com
    > Practical Utilities for Productive Solutions
    > New Site, Better Service!
    > More Utilities Under Development...
    > www.Cadentity.com
    >
    > Svend Nielsen wrote in message
    > news:4C7464653191106BF43548CC04E69174@in.WebX.maYIadrTaRb...
    > > Does anyone know how to find a certain block by LISP (name i known) in a
    > > drawing ?
    > >
    > > The block may be inserted several times and may be inserted in top of
    > > another with same symbol, but different attribute content.
    > >
    > > Thanks in advance
    > >
    > > --
    > > Svend Nielsen
    > >
    >
    Please use plain text.