Adds an empty corridor surface with name and style.

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

Syntax

C#
public CorridorSurface Add(
	string corridorSurfaceName,
	ObjectId styleId
)
Visual Basic
Public Function Add ( _
	corridorSurfaceName As String, _
	styleId As ObjectId _
) As CorridorSurface
Visual C++
public:
CorridorSurface^ Add(
	String^ corridorSurfaceName, 
	ObjectId styleId
)

Parameters

corridorSurfaceName
Type: System..::..String
Name used to create the corridor surface.
styleId
Type: ObjectId
Name used to create the corridor surface.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when the surface name or the style is invalid.

See Also