I have some preferences for both
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?