Isolation mode ? Sub-layers(styles) ?

 From:  Michael Gibson
3415.2 In reply to 3415.1 
Hi DesuDeus,

> Is there a script wich hide all unselected + center view to
> the remaining pieces
> Just like 3DS max Isolation mode ?

There's an Isolate function available by right-click on the Edit > Hide button.

It will hide all unselected objects but does not automatically alter the view, you need to push the Reset button on the view tools at the bottom of a viewport to center the view.

Then later on a second right-click on the Hide button will restore things to their state prior to the isolation.


> And is it possible to have another script wich hide all unselected
> (but keep edges visible) + center view to the remaining pieces ?

Set up the following script on a keyboard shortcut to do that:

script: /* Set unselected objects to wireframe */ var breps = moi.geometryDatabase.getObjects().getBreps(); for ( var i = 0; i < breps.length; ++i ) { var brep = breps.item(i); if ( !brep.selected ) { brep.getFaces().setProperty( 'hidden', true ); } } moi.view.resetAll(); moi.ui.redrawViewports();


> My second request, did you thinked about implementing
> sub-styles ?
> For example putting a style inside another one, like a sub-layer

Currently I'm not really thinking of having hierarchical styles - styles are meant to control the visual appearance of the objects assigned to it, I'm not sure if there would be a good way to have an appropriate visual meaning to having one style be the parent or child of another one.

I'm thinking that hierarchy will be available with Groups, in v3.

- Michael