Adds a mask with the given mask name and feature line code.

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

Syntax

C#
public CorridorSurfaceMask Add(
	string maskName,
	string featureLineCode
)
Visual Basic
Public Function Add ( _
	maskName As String, _
	featureLineCode As String _
) As CorridorSurfaceMask
Visual C++
public:
CorridorSurfaceMask^ Add(
	String^ maskName, 
	String^ featureLineCode
)

Parameters

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

Exceptions

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

See Also