Author Topic: Thaw a layer in a viewport  (Read 12117 times)

0 Members and 1 Guest are viewing this topic.

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: Thaw a layer in a viewport
« Reply #15 on: June 30, 2008, 09:08:35 AM »
Thanks for testing this. I will fix it

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: Thaw a layer in a viewport
« Reply #16 on: July 15, 2008, 01:01:24 PM »
I finally got around fixing my routine (I hope), if anyone wants to try it out for me. The signature would now be
(doit   viewport (ename)  (list of layers)   i.e

Code: [Select]
;(doit vpEname (list of layers))
(doit (car (entsel)) (list "Layer1" "Layer2" "Layer3" "Layer4" "Layer5"));freeze
(undoit (car (entsel)) (list "Layer1" "Layer2" "Layer3" "Layer4" "Layer5"));thaw

If all is ok I will post the updated code in this thread
http://www.theswamp.org/index.php?topic=21875.msg264784#msg264784

your system variable LAYOUTREGENCTL must be set to 0 for you to see the changes

Use the attached ARX


« Last Edit: July 16, 2008, 09:54:13 AM by Daniel »

Patrick_35

  • Guest
Re: Thaw a layer in a viewport
« Reply #17 on: July 16, 2008, 05:43:06 AM »
Great !!!

I even tested on a viewport that is not in the active layout, it's work fine  :-)

Thanks

Patrick_35

  • Guest
Re: Thaw a layer in a viewport
« Reply #18 on: July 16, 2008, 07:33:09 AM »
I adapted my lisp with your arx.
« Last Edit: July 16, 2008, 08:30:56 AM by Patrick_35 »

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: Thaw a layer in a viewport
« Reply #19 on: July 16, 2008, 08:34:27 AM »
Very Nice!
before you get too far along, I was planning on changing those function names to something more appropriate.
I’ll probably use crpvpfreeze and crpvpthaw.

Dan

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: Thaw a layer in a viewport
« Reply #20 on: July 16, 2008, 09:53:56 AM »
Ok I updated the Arx files and I uploaded the source code
http://www.theswamp.org/index.php?topic=21875.msg264050#msg264050

Patrick_35

  • Guest
Re: Thaw a layer in a viewport
« Reply #21 on: July 16, 2008, 10:46:13 AM »
Thanks

I updated the lisp

@+

It's Alive!

  • Retired
  • Needs a day job
  • Posts: 8702
  • AKA Daniel
Re: Thaw a layer in a viewport
« Reply #22 on: July 16, 2008, 11:00:59 AM »
Very fine work!  8-)

Patrick_35

  • Guest
Re: Thaw a layer in a viewport
« Reply #23 on: July 16, 2008, 11:57:33 AM »
Thanks

Just a clarification, you can work on several viewport.

@+

FengK

  • Guest
Re: Thaw a layer in a viewport
« Reply #24 on: July 16, 2008, 12:22:47 PM »
Ok I updated the Arx files and I uploaded the source code
http://www.theswamp.org/index.php?topic=21875.msg264050#msg264050


Very nice Daniel! I know I requested this one. Thank you!