Select objects

 From:  pixelhouse
9658.4 In reply to 9658.2 
Hi Pilou,

thank you for your response :)
I have copied the script and add a short cut, but only curves will be selected.
There are some lines in the code with "curves" :) I need to select objects, no curves. I'm not confirm with scripting.

This script from Petr's MOI page seems to do this :)

script: /* Select objects smaller than the given size */ var size = 1.0; var objs = moi.geometryDatabase.getObjects(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); var bbox = obj.getBoundingBox(); if ( bbox.diagonalLength < size ) obj.selected = true; }

Thanks a lot :)
Das Leben ist ein Spaziergang. Manchmal bei beschissenem Wetter ;)