File3dmWriteOptions

References
public class File3dmWriteOptions
Options used by File3dm.Write

Constructors

File3dmWriteOptions

#Since v5.9
Initializes properties to defaults.
public File3dmWriteOptions()

Properties

SaveAnalysisMeshes

#Since v5.9
Include analysis meshes in the file. Default is true
public bool SaveAnalysisMeshes { get; set; }
obsoleteSpecify analysis meshes for object types individually. Use EnableAnalysisMeshes()

SaveRenderMeshes

#Since v5.9
Include Render meshes in the file. Default is true
public bool SaveRenderMeshes { get; set; }
obsoleteSpecify analysis meshes for object types individually. Use EnableAnalysisMeshes()

SaveUserData

#Since v5.9
Include custom user data in the file. Default is true
public bool SaveUserData { get; set; }

Version

#Since v5.9

File version. Default is major version number of this assembly version.

Must be in range [2; current version].

Alternatively, 0 is a placeholder for the last valid version.

Rhino can read its current version, plus earlier file versions except 1.

Use latest version when possible.

public int Version { get; set; }

Methods

EnableAnalysisMeshes

#Since v6.0
Activates saving of analysis meshes for specific types of objects. If you do not specify the state for an object type, its default is used. Currently SubD mesh saving is disabled by default, while Brep and Extrusion is enabled.
[CLSCompliant(false)] public void EnableAnalysisMeshes(
ObjectType
objectType,
The object type. Mostly mesh, brep, extrusion and SubD (or their flag combinations) make sense here.

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

enable
If false, disables saving for this object type.
)

EnableRenderMeshes

#Since v6.0
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.
[CLSCompliant(false)] public void EnableRenderMeshes(
ObjectType
objectType,
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
If false, disables saving for this object type.
)