v4.0
/* This example demonstrates how to access the passes collection and get the first pass (the default) in the collection. */ var oPasses = ActiveProject.ActiveScene.Passes; LogMessage( ClassName(oPasses) ); // Returns "PassCollection" LogMessage( oPasses(0) ); // Returns "Passes.Default_Pass" LogMessage( ClassName(oPasses(0)) ); // Returns "Pass" |