Creates a new instance of a TinSurface and adds it to the specified database.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0

Syntax

C#
public static ObjectId Create(
	Database database,
	string surfaceName
)
Visual Basic
Public Shared Function Create ( _
	database As Database, _
	surfaceName As String _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	Database^ database, 
	String^ surfaceName
)

Parameters

database
Type: Database
The database where the new surface is created.
surfaceName
Type: System..::..String
The name of the surface.

Remarks

This method uses the default style for the surface.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the surfaceName is empty.

See Also