Macro VisibleAlls
| Description | 
|---|
| This macro display all objects in the document (Visibility True). Macro version: 00.01 Last modified: 2015-11-12 FreeCAD version: All Download: ToolBar Icon Author: Mario52 | 
| Author | 
| Mario52 | 
| Download | 
| ToolBar Icon | 
| Links | 
| Macros recipes How to install macros How to customize toolbars | 
| Macro Version | 
| 00.01 | 
| Date last modified | 
| 2015-11-12 | 
| FreeCAD Version(s) | 
| All | 
| Default shortcut | 
| None | 
| See also | 
| Macro Toggle Visibility2 1-2 Macro Toggle Visibility2 2-2 Macro_Toggle_Visibility Macro_HiddenAlls Macro If Selected Stay If Not Then Delete | 
Description
This macro display all objects in the document (Visibility True).
Script
Macro_VisibleAlls.FCMacro
import FreeCAD
#Macro_VisibleAlls
__title__="Macro_DisplayAllObjects"
__author__ = "Mario52"
__url__     = "http://www.freecadweb.org/index-fr.html"
__version__ = "00.00"
__date__    = "11/11/2015"
try:
    for ShapeNameObj in FreeCAD.ActiveDocument.Objects:   # displyed alls objects
        #print ShapeNameObj.Name
        FreeCADGui.ActiveDocument.getObject(ShapeNameObj.Name).Visibility = True
except Exception:
    None

