Shrink trimmed srf reloaded

 From:  mkdm
7983.1 
Hi Michael,

I've written a modified version of the "shrinktrimmedsrf" command, that should simply select again all the input objects at the end of the job.

Why it doesn't work ? Am i missing something ?

code:
// config: norepeat noautolaunch

var objs = moi.geometryDatabase.getSelectedObjects();

var factory = moi.command.createFactory( 'shrinktrimmedsrf' );
factory.setInput( 0, objs );
factory.commit();

objs.setProperty("selected", 1);


Thank your for your help and have a nice day.

Marco (mkdm).

EDITED: 10 Jun 2016 by MKDM