Google Groups no longer supports new Usenet posts or subscriptions. Historical content remains viewable.
Dismiss

rename anonymous blocks

458 views
Skip to first unread message

Terry Priest

unread,
Oct 8, 2002, 3:07:23 PM10/8/02
to
any body got a lisp to point to an anonymous block and type in its new name?


David Bethel

unread,
Oct 8, 2002, 6:12:07 PM10/8/02
to
Not exactly, but here's 1 that will convert an anonymous block into a named block TEMPnnn with an incremental counter.

http://www.davidbethel.com/lisp/unanon.lsp

It wouldn't be too hard too modify it to accept user string input. -David


"Terry Priest" <t...@nospam.kochllc.com> wrote in message news:f1164...@WebX.maYIadrTaRb...

Terry Priest

unread,
Oct 8, 2002, 4:57:12 PM10/8/02
to
David

Sorry, i was using the wrong term, i want to rename a copy and paste as
block with a name like A$C41DB5C20. i dont know what thats called. just for
thrills i changed *U to A$ and it seems to work. what do you think?

Terry

"David Bethel" <d...@davidbethel.com> wrote in message
news:1DCED49CACC4590E...@in.WebX.maYIadrTaRb...

Peter Friedrich

unread,
Oct 9, 2002, 10:12:05 AM10/9/02
to
(setq A$C (ssget "x" '((2 . "A$C*"))))

will find the first block with a name starting with A$C - [those created
via copyclip]

I use it to explode to original entities ... rename is up to you

"Terry Priest" <t...@nospam.kochllc.com> wrote in message
news:f1164...@WebX.maYIadrTaRb...

0 new messages