(c) TIG 2010
Permission to use, copy, modify, and distribute this software for
any purpose and without fee is hereby granted, provided the above
copyright notice appear in all copies.
THIS SOFTWARE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.
___________________________________________________________________________
Script:
##hideEverythingElse.rb
place it in the ../Plugins/ folder...
___________________________________________________________________________
Usage:
This script adds a new function to the 'View' menu.
'Editing: Hide Context'
It 'toggles'.
If it is active it is shown 'ticked'.
If it is inactive it is shown 'unticked'.
The default setting is 'inactive'.
The last setting is remembered with the saved model across sessions.
When it is 'active' if you edit a component-instance or a group then
everything else in its context is hidden from view: unlike the built-in
'View'>'Component Edit'>'Hide Rest of Model' and
'View'>'Component Edit'>'Hide Similar Instances',
which will either show OR hide EVERYTHING both inside AND outside of the
editing context.
'Editing: Hide Context' is limited to hiding only objects in the edited
instance's context.
This may be more useful than 'Hide Rest of Model' if there is something
outside of the context that you still want to see [e.g. to snap to], but
you do want objects in the immediate context to be hidden temporarily as
they obscure your view...
Remember to set 'View'>'Hidden Geometry' to 'off' for an unobstructed view.
Note that because it is a menu-item you can shortcut-key to it.
___________________________________________________________________________
Donations:
by PayPal to info @ revitrev.org ___________________________________________________________________________
Version:
1.0 20101019 First Release.
1.1 20101020 Recast as 'Editing: Hide Context',hides editing context ONLY.
___________________________________________________________________________



