Author Topic: A Lisp which copies entities from blocks or Xrefs?  (Read 1839 times)

0 Members and 1 Guest are viewing this topic.

MSTG007

  • Gator
  • Posts: 2603
  • I can't remeber what I already asked! I need help!
A Lisp which copies entities from blocks or Xrefs?
« on: October 12, 2007, 02:38:14 PM »
Is there a Lisp which copies entities from blocks or Xrefs?
Any help would be great.
Thanks!
Civil3D 2020

ronjonp

  • Needs a day job
  • Posts: 7531
Re: A Lisp which copies entities from blocks or Xrefs?
« Reply #1 on: October 12, 2007, 02:42:33 PM »
Express Tools:

Blocks:

Windows 11 x64 - AutoCAD /C3D 2023

Custom Build PC

GDF

  • Water Moccasin
  • Posts: 2081
Re: A Lisp which copies entities from blocks or Xrefs?
« Reply #2 on: October 12, 2007, 02:54:16 PM »
Maybe Tim will post his code....or do a search for it. I use it all the time.

;;;Tim Willey
(defun c:Xrefs2Block  (/ ActDoc BlkCol LayCol Message NewBlkName ss Ent EntData BlkName
                       BlkRefObj XrefList dbxApp LayList ObjList FullPath NewBlk NewObjList
                       LayToLock XrefObj)

Gary
Why is there never enough time to do it right, but always enough time to do it over?
BricsCAD 2020x64 Windows 10x64

MSTG007

  • Gator
  • Posts: 2603
  • I can't remeber what I already asked! I need help!
Re: A Lisp which copies entities from blocks or Xrefs?
« Reply #3 on: October 12, 2007, 02:58:50 PM »
Thanks guys!!!
You just made someones life alittle bit easier.
Civil3D 2020