I have some preferences for both RhinoDoc and RhinoObjects for plugin details. In order to test them, I simply want to create this scenario;
(At the beginning of test plugin)
Open temporary RhinoDoc
Create plugin object into temporary RhinoDoc
Save into temp file in the system
Open it again for test purpose to check saved values are true
// at the beginning of test project
RhinoDoc tempDoc = RhinoDoc.Create("docForTestPurpose");
string tempPath = System.IO.Path.GetTempPath();
// ..
// creating some plugin objects there into tempDoc
// ..
var fileWriteOptions = new FileWriteOptions();
bool res = tempDoc.Write3dmFile(tempPath, fileWriteOptions);
I simply tried this, but Write3dmFile method returned false.
Do you have any insight?
Additively: As I understand after couple of debuggings, SaveAs method is available for v7. When I upgrade Rhinocommon from NuGet, of course I cannot run this functionality in 6.31.20315.17001. Is it possible for similar functionality for v6?