Selection questions

 From:  Michael Gibson
9147.14 In reply to 9147.13 
Hi Bravlin, can you post the pieces that are needed to reproduce the slow performance? Like for example if it is happening when running your script on a particular model please post the model too so I can give it a test over here.

One other quick note for the part about creating the style if it's not there, you can use moi.geometryDatabase.findStyle( 'name', true /*CreateIfNotFound*/ ); something like this:

code:
    var style = moi.geometryDatabase.findStyle( 'name', true ); // true for second parameter means create the style if not already existing.
    var  index = style.index;


- Michael