Change Multiple comps from Ray-traced 3d to Classic 3d
  • I'm looking for a script that can take a bunch of comps that are currently set to the Ray-traced 3d renderer and switch them to classic 3d.

    any suggestions?
  • literally trying to roll my own and getting a "Function Array is Undefined" error. here's what I've got. I'm not very good at this so I'm probably missing something obvious.

    any help appreciated.

    var daComps = app.project.selection;

    function changeRenderer() {
        var activeItem = daComps;
        for (i = 0; i < daComps.length; i++) { 
            activeItem(i).renderer == "ADBE Standard 3D";
        }
    };

    changeRenderer();

  • A good samaritan over @ mograph.net helped me out. solution in thread:

  • Adding your solution here for convenience. You can also add this as a javascript button on ft-Toolbar for 1 click convenience.

    var daComps = app.project.selection;
    var curItem;
    function changeRenderer() {
    for (i = 0; i < daComps.length; i++) {
    curItem = daComps[i];
    curItem.renderer = "ADBE Standard 3d";
    }
    }

    changeRenderer();
This discussion has been closed.
All Discussions