  | | | FX tree : Select file input node only | FX tree : Select file input node only 2005-06-15 - By Guillaume Laforge
Back Hi List, I need to select all the file input nodes from a fxtree. The script I write below seems to remove randomly some nodes ??? I don't understand why ?
//All the Fx tree nodes are selected. var oSel = Selection; for(i=0;i<oSel.count;i++) if(oSel(i).type != "FileInputOp") { RemoveFromSelection(oSel(i)) } logmessage("only file input nodes are selected !")
Any idea ?
Cheers,
Guillaume Laforge CG artist www.vol2nuit.fr <http://www.vol2nuit.fr>
<div>Hi List,</div> <div><font size="2"> <p>I need to select all the file input nodes from a fxtree. <br>The script I write below seems to remove randomly some nodes ???<br>I don't understand why ?</p> <p>//All the Fx tree nodes are selected.<br>var oSel = Selection;<br>for(i=0;i <oSel.count;i++)<br>if(oSel(i).type != "FileInputOp")<br>{<br >RemoveFromSelection(oSel(i))<br>}<br>logmessage("only file input nodes are selected !") </p> <p>Any idea ?</p> <p>Cheers,</p> <p>Guillaume Laforge<br>CG artist<br><a href="http://www.vol2nuit.fr">www .vol2nuit.fr</a></p> <p> </p> <p> </p></font></div>
|
|
 |