Macro SelectVisible/de

Description
All visible objects in the tree and only these will be selected.

How To Use
Copy the macro in your macros' folder and run (see Macro Install HowTo for further details).

Code
The lastest version of the macro is to be found at https://github.com/FreeCAD/FreeCAD-macros/blob/master/Utility/SelectVisible.FCMacro