Click or drag to resize

PlugInShouldCallWriteDocument Method

Called whenever a Rhino is about to save a .3dm file. If you want to save plug-in document data when a model is saved in a version 5 .3dm file, then you must override this function to return true and you must override WriteDocument().

Namespace:  Rhino.PlugIns
Assembly:  RhinoCommon (in RhinoCommon.dll)
Syntax
protected virtual bool ShouldCallWriteDocument(
	FileWriteOptions options
)

Parameters

options
Type: Rhino.FileIOFileWriteOptions
The file write options, such as "include preview image" and "include render meshes".

Return Value

Type: Boolean
true if the plug-in wants to save document user data in the version 5 .3dm file. The default returns false.
See Also