Add Method (String, String)

Adds an outside boundary with the given boundary name and feature line code.

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

Syntax

C#

public CorridorSurfaceBoundary Add(
	string boundaryName,
	string featureLineCode
)

Visual Basic

Public Function Add ( _
	boundaryName As String, _
	featureLineCode As String _
) As CorridorSurfaceBoundary

Visual C++

public:
CorridorSurfaceBoundary^ Add(
	String^ boundaryName, 
	String^ featureLineCode
)

Parameters

boundaryName
Type: System.String
Name of the newly created boundary.
featureLineCode
Type: System.String
Feature line code used to create boundary.

Exceptions

ExceptionCondition
System.ArgumentException Thrown when the specified boundary name is invalid or there are not only two feature lines with the specified code.
System.InvalidOperationException Thrown when the corridor has any offset baseline.

See Also