Click or drag to resize

File3dmWriteOptionsEnableRenderMeshes Method

Activates saving of render meshes for specific types of objects. If you do not specify the state for an object type, its default is used. Specifically, currently SubD mesh saving is disabled by default, while Brep and Extrusion is on.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 6.0
Syntax
public void EnableRenderMeshes(
	ObjectType objectType,
	bool enable
)

Parameters

objectType
Type: Rhino.DocObjectsObjectType
The object type. Mostly brep, extrusion and SubD (or their flag combinations) make sense here.

DO NOT specify a 'filter' or sub-object type.

enable
Type: SystemBoolean
If false, disables saving for this object type.
See Also