Adds a mask with the given mask name and feature line code.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.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
Exception | Condition |
---|---|
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. |