Author Topic: manipulating layers in a block  (Read 4118 times)

0 Members and 1 Guest are viewing this topic.

Kerry

  • Mesozoic relic
  • Seagull
  • Posts: 11654
  • class keyThumper<T>:ILazy<T>
Re: manipulating layers in a block
« Reply #15 on: January 08, 2011, 11:23:16 PM »
Just so everyone knows ACAD2000 will create a block with the CURRENT layer embedded in the (0 . "ENDBLK") entity.
This will stop it from purging that layer.
See a copy of FixBlock.lsp


Can't recall the AC2000 version Alan, but I have 2 versions by Owen Wengerd ( http://www.manusoft.com ) dated 1996 and 1998 ... from CompuServe era :)

added:
In fact, Owen still has a version on his site
http://www.manusoft.com/software/freebies/lisp.html

kdub, kdub_nz in other timelines.
Perfection is not optional.
Everything will work just as you expect it to, unless your expectations are incorrect.
Discipline: None at all.

CAB

  • Global Moderator
  • Seagull
  • Posts: 10401
Re: manipulating layers in a block
« Reply #16 on: January 09, 2011, 08:31:20 AM »
That's the one Kerry. Thanks for the link.
I modified my copy to remove '(71 . 1)   It was in 2004 I think but I could not find the thread.

Not sure when that ACAD bug went away, maybe version 2002?
I've reached the age where the happy hour is a nap. (°¿°)
Windows 10 core i7 4790k 4Ghz 32GB GTX 970
Please support this web site.