Click or drag to resize

File3dmWriteOneObject Method

Creates a simple 3dm file that contains a single geometric object.

Namespace:  Rhino.FileIO
Assembly:  RhinoCommon (in RhinoCommon.dll)
Since: 7.0
Syntax
public static bool WriteOneObject(
	string path,
	GeometryBase geometry
)

Parameters

path
Type: SystemString
Path to the 3dm file to create.
geometry
Type: Rhino.GeometryGeometryBase
The geometry to be saved in the archive's object table. This is typically a Curve, Surface, Brep, Mesh, or SubD.

Return Value

Type: Boolean
True if successful, false otherwise.
See Also