Hi Everyone!
Having some trouble adding user settings to exportReport().
User manual specifies "list of (string, string) tuples" for the user_settings parameter.
import os
import Metashape
doc = Metashape.app.document
chunk = doc.chunk
user_settings = [('Test 1', 'Value 1'), ('Test 2', 'Value 2')]
output_file = os.path.join(os.path.join(os.environ['USERPROFILE']), 'Desktop/test.pdf')
chunk.exportReport(path=output_file, user_settings=user_settings)
Error: ValueError: Invalid argument value: user_settings
Metashape version 1.6.2