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