Click or drag to resize
File3dmObjectTableAddSurface Method (Surface, ObjectAttributes)
Adds a surface object to Rhino.

Namespace: Rhino.FileIO
Assembly: RhinoCommon (in RhinoCommon.dll) Version: 5.1.50000.0 (5.0.20693.0)
Syntax
public Guid AddSurface(
	Surface surface,
	ObjectAttributes attributes
)

Parameters

surface
Type: Rhino.GeometrySurface
A duplicate of this surface is added to Rhino.
attributes
Type: Rhino.DocObjectsObjectAttributes
Attributes to link to the object.

Return Value

Type: Guid
A unique identifier for the object.
See Also