Adds an outside boundary with the given boundary name and polyline.

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

Syntax

C#
public CorridorSurfaceBoundary Add(
	string boundaryName,
	ObjectId polylineId
)
Visual Basic
Public Function Add ( _
	boundaryName As String, _
	polylineId As ObjectId _
) As CorridorSurfaceBoundary
Visual C++
public:
CorridorSurfaceBoundary^ Add(
	String^ boundaryName, 
	ObjectId polylineId
)

Parameters

boundaryName
Type: System..::..String
Name of the newly created boundary.
polylineId
Type: ObjectId
ObjectId of the polyline used to create boundary.

Remarks

Only Autodesk.AutoCAD.DatabaseServices.Polyline, Autodesk.AutoCAD.DatabaseServices.Polyline2d and Autodesk.AutoCAD.DatabaseServices.Polyline3d are supported.

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The specified boundary name or polyline is invalid..
  2. The polyline cannot be used to construct a polygon.
  3. The polygon specified by polyline is self-crossing.

See Also