Author Topic: No Show Space  (Read 7794 times)

0 Members and 1 Guest are viewing this topic.

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
No Show Space
« Reply #15 on: September 14, 2004, 09:46:14 PM »
Who ever said Se7en could spell? Heck just look at his name .... who in his right mind would spell like that?
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

JohnK

  • Administrator
  • Seagull
  • Posts: 10626
No Show Space
« Reply #16 on: September 14, 2004, 10:43:50 PM »
Alright, let's see which one of you two can spell "BAN" first?!
TheSwamp.org (serving the CAD community since 2003)
Member location map - Add yourself

Donate to TheSwamp.org

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
No Show Space
« Reply #17 on: September 15, 2004, 06:52:35 AM »
Good lord, don't you guys go home at night?  I come in this morn to find a full thread.

CAB,  the code you posted works great along with Craks undo changes.  I am going to add the background color change (to show the user that he is in differant space) and I think this my be a wiener.

Thanks guys

Se7en,  I'll look into the CVS @ lunch today.  I agree that It's an invaluable resource.  I'll get back to you after to get more details.

 :D
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
No Show Space
« Reply #18 on: September 15, 2004, 08:18:32 AM »
We never sleep....
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

sinc

  • Guest
No Show Space
« Reply #19 on: September 15, 2004, 08:37:16 AM »
I'm just curious - what exactly are you accomplishing that the Layer Walk doesn't already do?  Layer Walk only turns layers on and off, and unfreezes all layers, which is pretty annoying.  Is that why you're writing this new routine?

That's something else that had me curious - what do you mean by "no show" space?  "Off" layers and "Frozen" layers behave differently; often you very specifically want one, and not the other (unless you work like one of my coworkers, who inexplicably always freezes AND turns off any layer he doesn't want to see on the screen at that particular moment...).  I wouldn't think you'd want to lose this distinction, so I don't get this "No Show" space...

TimSpangler

  • Water Moccasin
  • Posts: 2010
  • CAD Naked!!
No Show Space
« Reply #20 on: September 15, 2004, 08:50:31 AM »
Well i'll try to explain it better.

In CATIA there is what is know as "No Show Space".  This is like changing layout tabs (sort of) but it has the behavoir of turning a layer "Off".

It would be the place where entities go when they are turned off, thought in CATIA it isn't layer specific but entity specific.

What it allows is a "GUI", if you will, to select layers that have been turned off.  You can go into NoShow and see everything that is turned off, so you can select and entitiy to turn on instead of having to open the layer dialog and search through layer upon layer to turn one layer that you need.

For instance if you are working on a large project with 100+ layers and about 40 of them are turned off and you find that you need A-DOOR-EXST turned on you would just go to noshow and select an exsisting door and your done.

Here is the a completed version,  give it a whirl:

http://www.theswamp.org/lilly_pond/timspangler/NoShow.lsp?nossi=1

Here are links to bitmaps that I created for this program:

OffSpace:
http://www.theswamp.org/lilly_pond/timspangler/OffSpace.BMP?nossi=1

FrozenSpace:
http://www.theswamp.org/lilly_pond/timspangler/FrozenSpace.BMP?nossi=1
ACA 2015 - Windows 7 Pro
All Comments and Content by TimSpangler, Copyright © 2016

Keith™

  • Villiage Idiot
  • Seagull
  • Posts: 16899
  • Superior Stupidity at its best
No Show Space
« Reply #21 on: September 15, 2004, 09:48:41 AM »
Tim, I understand perfectly....
At my previous emplyer, we had a routine that would either turn off or freeze a layer when you selected an entity on that layer. Sometimes we needed to turn those layers back on, so...along with our "FreezePick" "OffPick" and "LockPick" we had "ThawPick" "OnPick" and "UnlockPick"
The ThawPick and OnPick were really cool in that it would temporarily toggle all layer visibility and allow the user to select an object that was off/frozen and then thaw and/or turn on that layer, along with the previous layers that were on and visible.

The NoShow Space concept can be easily described as "The layers that are not visible in the drawing window" and the operation of this program can be described as the ability to pick an object that is on a frozen or off layer and turn that layer on or thaw it.
Proud provider of opinion and arrogance since November 22, 2003 at 09:35:31 am
CadJockey Militia Field Marshal

Find me on https://parler.com @kblackie

SMadsen

  • Guest
No Show Space
« Reply #22 on: September 15, 2004, 10:41:06 AM »
Even I am beginning to understand.

Just having skimmed the code, my only suggestions are that the error handler restores the background color and that the *error* is made local.
Restoring could for example be
Code: [Select]

(defun *error* (msg)
...
  (if (and oldbckgrndclr (/= oldbckgrndclr (GET_BCKGND_COLOR)))
    (CHANGE_BKGRND OldBckGrndClr))
...
)

V-Man

  • Bull Frog
  • Posts: 343
  • I exist therefore I am! Finally Retired!
No Show Space
« Reply #23 on: October 07, 2004, 10:50:59 AM »
Could this also work with layers that are thawed or frozen?
AutoCAD 9 - 2023, AutoCADMap 2008 - 2010, Revit 2012 - 2022, Autocad Civil 3D 2023