"style select" within a solid subset.

 From:  Frenchy Pilou (PILOU)
9477.11 
does this old one for V2 "On objects" works also on V3? (seems yes but want to be sure! :)

script: /* Extend the selection of objects with the same style */ var objects = moi.geometryDatabase.getObjects();var styles = new Array();for ( var i = 0; i < objects.length; ++i ) { var obj = objects.item(i); if ( obj.selected ) styles[obj.styleIndex] = true; } for ( var i = 0; i < objects.length; ++i ) { var obj = objects.item(i); if ( styles[obj.styleIndex] ) obj.selected = true; }

EDITED: 25 Aug 2019 by PILOU