CorridorSurfaceBoundaryCollectionAdd(String, ObjectId) Method |
Adds an outside boundary with the given boundary name and polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic CorridorSurfaceBoundary Add(
string boundaryName,
ObjectId polylineId
)
Public Function Add (
boundaryName As String,
polylineId As ObjectId
) As CorridorSurfaceBoundary
public:
CorridorSurfaceBoundary^ Add(
String^ boundaryName,
ObjectId polylineId
)
Parameters
- boundaryName String
- Name of the newly created boundary.
- polylineId ObjectId
- ObjectId of the polyline used to create boundary.
Return Value
CorridorSurfaceBoundary
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The specified boundary name or polyline is invalid..
- The polyline cannot be used to construct a polygon.
- The polygon specified by polyline is self-crossing.
|
Remarks
Only Autodesk.AutoCAD.DatabaseServices.Polyline, Autodesk.AutoCAD.DatabaseServices.Polyline2d and Autodesk.AutoCAD.DatabaseServices.Polyline3d are supported.
See Also