In Rhino 5, CRhinoPlugIn::CallWriteDocument included a reference to file write options. The options allowed me to determine:
- If only selected objects are being saved
- If the file is being saved as a template
- If only geometry is being saved
- If user data should be saved
In Rhino 6, it looks like I can use CRhinoFileWriteOptions::TemplateFileIsDestination() to determine if the file is being saved as a template.
Is there a way to cover the other three cases (selected objects only, geometry only, user data)?