Share

TinSurface.Create(Database, String) Method

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.8.0.280

Syntax

C#

public static ObjectId Create(
	Database database,
	string surfaceName
)

VB

Public Shared Function Create ( 
	database As Database,
	surfaceName As String
) As ObjectId

C++

public:
static ObjectId Create(
	Database^ database, 
	String^ surfaceName
)

Parameters

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

Return Value

ObjectId

Exceptions

ExceptionCondition
ArgumentException Thrown when the surfaceName is empty.

Remarks

This method uses the default style for the surface.

See Also

Reference

Was this information helpful?