Author Topic: Tough Questions - Copy Xref Layer Lisp  (Read 5450 times)

0 Members and 1 Guest are viewing this topic.

johnshar123xx

  • Guest
Tough Questions - Copy Xref Layer Lisp
« on: November 30, 2009, 02:29:42 PM »
Tough Questions - Copy Xref Layer Lisp

AutoCAD 2007
I have a quite a few tough questions/requests and I am currently looking for some lisps to solve them.  I have been doing some searching online to find the lisps I need, and although I have been able to find some stuff, I still have some things that I can't seem to find exactly what I am looking for.  I would like to take the opportunity ahead of time to thank every who views my questions and for any help that is given.

Basically, lets say you have an xref overlayed or attached into your current drawing.  I was wondering if anyone has a lisp that would allow me to click on anything from that xref (from my current drawing) and have it copy everything that is on that xref layer to my current drawing, with the same layer name, linetype, etc. (looking exactly as it does in the xref).

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #1 on: November 30, 2009, 02:35:58 PM »
There's NCOPY but that only does the selected object.  I think someone here wrote something that.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #2 on: November 30, 2009, 03:08:52 PM »
There's NCOPY but that only does the selected object.  I think someone here wrote something that.
Was even a thread you started Matt.   :wink:

http://www.theswamp.org/index.php?topic=24251.0
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #3 on: November 30, 2009, 03:39:40 PM »
There's NCOPY but that only does the selected object.  I think someone here wrote something that.
Was even a thread you started Matt.   :wink:

http://www.theswamp.org/index.php?topic=24251.0
HAHAHA!!  I think I've used that, like twice!  Maybe....  Just haven't had the need since then.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

alanjt

  • Needs a day job
  • Posts: 5352
  • Standby for witty remark...
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #4 on: December 01, 2009, 09:22:18 AM »
There's NCOPY but that only does the selected object.  I think someone here wrote something that.
Was even a thread you started Matt.   :wink:

http://www.theswamp.org/index.php?topic=24251.0
:lmao:
Civil 3D 2019 ~ Windohz 7 64bit
Dropbox

johnshar123xx

  • Guest
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #5 on: December 01, 2009, 04:06:40 PM »
NCOPY is how I am currently solving this problem, but it requires you to manually select every single piece from the layer (one at a time) and when it brings it in to my current drawing it doesn't use the same linetype as the xref it is copying from.

I thank you guys for taking the time to help me, I really appreciate it.

Serge J. Gianolla

  • Guest
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #6 on: December 01, 2009, 04:09:41 PM »
Perhaps you can "steal" layers via Design Center prior to use NCOPY?!

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #7 on: December 01, 2009, 04:18:52 PM »
No No No! You guys are doing it all wrong.

Repeat after me.
Bind, then Explode, then Purge, then Delete, then Purge, then Rinse, then Spin and then Hang.

Slick as cold butter on ice bread!
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

cmwade77

  • Swamp Rat
  • Posts: 1443
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #8 on: December 01, 2009, 04:20:20 PM »
No No No! You guys are doing it all wrong.

Repeat after me.
Bind, then Explode, then Purge, then Delete, then Purge, then Rinse, then Spin and then Hang.

Slick as cold butter on ice bread!
Unfortunately, this only works when Binding does (which is about 50% of the time), not to mention much more of a pain than using LISP.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #9 on: December 01, 2009, 04:38:48 PM »
No No No! You guys are doing it all wrong.

Repeat after me.
Bind, then Explode, then Purge, then Delete, then Purge, then Rinse, then Spin and then Hang.

Slick as cold butter on ice bread!
You forgot FLATTEN!   :whistle:

And I thought the saying was "slicker than dogs*** on wet leaves"?   :-)
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

Krushert

  • Seagull
  • Posts: 13679
  • FREE BEER Tomorrow!!
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #10 on: December 02, 2009, 07:11:29 AM »
No No No! You guys are doing it all wrong.

Repeat after me.
Bind, then Explode, then Purge, then Delete, then Purge, then Rinse, then Spin and then Hang.

Slick as cold butter on ice bread!
You forgot FLATTEN!   :whistle:

And I thought the saying was "slicker than dogs*** on wet leaves"?   :-)
I did not want to dig up that poor horse.  And for that matter I am starting to get the festive mood.  :-)
I + XI = X is true ...  ... if you change your perspective.

I no longer CAD or Model, I just hang out here picking up the empties beer cans

johnshar123xx

  • Guest
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #11 on: December 02, 2009, 03:25:31 PM »
Wondering if anyone has the lisp I requested.  I work with a couple people that have used this lisp before at past jobs, but still no luck at finding it.

Matt__W

  • Seagull
  • Posts: 12955
  • I like my water diluted.
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #12 on: December 02, 2009, 03:33:50 PM »
Wondering if anyone has the lisp I requested.  I work with a couple people that have used this lisp before at past jobs, but still no luck at finding it.
See the third post of this thread.
Autodesk Expert Elite
Revit Subject Matter Expert (SME)
Owner/FAA sUAS Pilot @ http://skyviz.io

johnshar123xx

  • Guest
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #13 on: December 02, 2009, 05:05:34 PM »
See Matt W you were looking for this at one time, we are a lot alike you and I, minus the flaming skull.  I went to the link you gave, and downloaded the copynesteditem.lsp file but when I try to use it I was not able to get it to work.  Are you suppose to do something with the "mydialogs.dcl" file?

You said you had errors undoing.  Did you ever fix that problem as well?

That is in reality exactly what I am looking for, to be able to ncopy an entire layer from an xref, in one step, with just one click it automatically does it.

T.Willey

  • Needs a day job
  • Posts: 5251
Re: Tough Questions - Copy Xref Layer Lisp
« Reply #14 on: December 02, 2009, 05:18:44 PM »
You have to put the *.dcl file in the Acad search path.  If you don't know what that is, go to options->files->support file search path... when you click the ' + ' button, it will list the support paths.  Pick one, and put the *.dcl file there.  Or you could create a new folder, and add that to the support paths, and put all your custom routines there.
Tim

I don't want to ' end-up ', I want to ' become '. - Me

Please think about donating if this post helped you.