Hello Nick, Using autorun scripts you can create custom menus and dialogs that can start customized processing workflow.So basically, you can define your external script as Python function (via def) and link the custom menu to this function, then put such script to the autorun folder.Here's short example:Code: [Select]import PhotoScandef test(): print("Testing successfull. Chunk added.") doc = PhotoScan.app.document chunk = PhotoScan.Chunk() chunk.label = "Test chunk" doc.addChunk(chunk) return 1 def funct(): doc = PhotoScan.app.document chunk = doc.chunk chunk.matchPhotos() chunk.alignCameras() print("Done") label = "New Menu/Test script"PhotoScan.app.addMenuItem(label, test)label = "New Menu/Processing script"PhotoScan.app.addMenuItem(label, funct)print("New menu added")
import PhotoScandef test(): print("Testing successfull. Chunk added.") doc = PhotoScan.app.document chunk = PhotoScan.Chunk() chunk.label = "Test chunk" doc.addChunk(chunk) return 1 def funct(): doc = PhotoScan.app.document chunk = doc.chunk chunk.matchPhotos() chunk.alignCameras() print("Done") label = "New Menu/Test script"PhotoScan.app.addMenuItem(label, test)label = "New Menu/Processing script"PhotoScan.app.addMenuItem(label, funct)print("New menu added")