Macro Toggle Visibility/it

Description
This is a set of four related macros for managing the visibility of objects in the Object Model:
 * 1) objects that are selected in a document are made visible while objects that are not selected are made invisible
 * 2) *if no objects are selected then all objects are hidden;
 * 3) *if all objects are selected then all objects are made visible
 * 4) make all objects visible
 * 5) make all objects invisible
 * 6) the object(s) selected then stay, all objects not selected are deleted

Uso
Copiare le macro e le icone nella cartella delle macro ed eseguirle (vedere Come installare le macro)

ToggleVisibility
Using the selection of objects in the one of the FreeCAD views, this macro makes all selected objects visible and hides all objects which are not selected.

Se non ci sono oggetti selezionati tutti gli oggetti vengono nascosti

Se tutti gli oggetti sono nascosti e nella Vista Combinata non ci sono oggetti selezionati, rende visibili tutti gli oggetti

La nuova versione (00.02) comprende le tre macro in una

Il codice Macro_ToggleSelectedObjectVisibility.FCMacro e l'icona

DisplayAll
This macro makes all objects visible.

Il codice Macro_DisplayAllObjects e l'icona

HideAll
This macro hides all objects.

Il codice Macro_HideAllObjects e l'icona

SelectedStay
This macro delete alls object not selected

The icon for the tool bar

Link
La discussione nel forum Proposal: select one or more pieces, hide the others.

Version
ver 00.02 12/11/2015 macro Macro_SelectVisible : hidden the objects not selected, if not object selected displayed all objects, hidden all objects. This version include the tree macro in one