Merge RhinoDocs in C#

Thank you @stevebaer , I’ve taken this approach & it works with one challenge - how can I suppress the user prompts during import? I’ve a few hundred files to merge. doc.Import doesn’t appear to have further options I can specify (at least in v7)

image

Looks like Import calls the same method as ReadFile but there i can specify options:

		FileReadOptions readoptions = new FileReadOptions() {
			ImportMode       = true,
			BatchMode        = true,
			UseScaleGeometry = true,
			ScaleGeometry    = false, 
		};
		if (!RhinoDoc.ReadFile(tempPath, readoptions)) 

However the BatchMode and UseScaleGeometry (see options here) are not being respected as the user is still prompted during import :frowning:

Further research shows other people with the same issue:
RhinoDoc.ReadFile interrupted with ‘import scaling - DimensionNumbers’ - Rhino Developer - McNeel Forum
RhinoDoc.Import() is interrupted with ‘import scaling’ confirmation - Grasshopper Developer - McNeel Forum
& https://mcneel.myjetbrains.com/youtrack/issue/RH-67948

Is there any way to work around this prompt in Rhino 7?