Adds a mask with the given mask name and feature line code.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public CorridorSurfaceMask Add( string maskName, string featureLineCode )
VB
Public Function Add ( maskName As String, featureLineCode As String ) As CorridorSurfaceMask
C++
public: CorridorSurfaceMask^ Add( String^ maskName, String^ featureLineCode )
Parameters
- maskName String
- Name of the newly created mask.
- featureLineCode String
- Feature line code used to create mask.
Return Value
CorridorSurfaceMaskExceptions
Exception | Condition |
---|---|
ArgumentException | Thrown when the specified mask name or there are not only two feature lines with the specified code. |
InvalidOperationException | Thrown when the corridor has any offset baseline. |