Hello johnlionas,
Like mentioned above, if you are adding images from Parrot Sequoia or MicaSense RedEdge cameras using a single list for all bands, PhotoScan would create multiplane (multispectral) layout automatically.
But if you are using some other sources, you can follow this approach (the example assumes that there are two cameras - images from which are grouped into separate lists:
rgb = ["/images/rgb/image1.jpg", "/images/rgb/image2.jpg", "/images/rgb/image2.jpg", "/images/rgb/image3.jpg"]
nir = ["/images/nir/image1.jpg", "/images/nir/image2.jpg", "/images/nir/image2.jpg", "/images/nir/image3.jpg"]
list1 = [[rgb[0], nir[0]], [rgb[1], nir[1]], [rgb[2], nir[2]], [rgb[3], nir[3]], [rgb[4], nir[4]]]
chunk.addPhotos(list1, PhotoScan.MultiplaneLayout)
So the list that should be used in addPhotos() function is actually a nested list, where each top list element represent the single camera position, and the nested list inside - represent the list of bands corresponding to this camera location.
And it is necessary to use MultiplaneLayout option.