protected void testResults(MPx3dModelView view) { MObject cstObj = MObject.kNullObj; view.getCameraSet(cstObj); MGlobal.displayInfo("fCameraList.length() = " + fCameraList.length); MGlobal.displayInfo("fCameraList = " + fCameraList); MFnCameraSet cstFn = new MFnCameraSet(cstObj); uint numLayers = cstFn.getNumLayers(); MGlobal.displayInfo("view.cameraSet.numLayers = " + numLayers); MGlobal.displayInfo("Cameras:"); for (uint i = 0; i < numLayers; i++) { MDagPath camPath = new MDagPath(); cstFn.getLayerCamera(i, camPath); camPath.extendToShape(); MGlobal.displayInfo(" " + camPath.fullPathName()); } }