File3dmWriteOptions.EnableRenderMeshes Method

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)
Syntax
public void EnableRenderMeshes(
	ObjectType objectType,
	bool enable
)
Public Sub EnableRenderMeshes ( 
	objectType As ObjectType,
	enable As Boolean
)

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 subobject type.

enable
Type: SystemBoolean
If false, disables saving for this object type.
Version Information

Rhino for Windows

Supported in: 6.14
See Also