Network surface

 From:  Michael Gibson
481.91 In reply to 481.89 
Ok, I've added a new script method for the next beta that makes it possible to retrieve the history parents or children of an object.

This will make it possible to set up a keyboard shortcut with this command:

code:
script:var gd = moi.geometryDatabase; var objs = gd.getSelectedObjects(); gd.deselectAll(); for ( var i = 0; i < objs.length; ++i ) { var parents = objs.item(i).getHistoryParents(); parents.setProperty( 'selected', true ); }


If you have an object selected, that will switch selection to all the parents that were input into the making of that object. So for example if you select a lofted surface, after you run that script the original curves that went into the loft will be selected.

You can also do the reverse by editing the above and swapping getHistoryParents() with getHistoryChildren().

Again, this won't work until the next beta, which hopefully will be finished in not too many more days here.

- Michael