Adds a mask with the given mask name and polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
| Visual Basic |
|---|
Public Function Add ( _
maskName As String, _
polylineId As ObjectId _
) As CorridorSurfaceMask |
Parameters
- maskName
- Type: System..::..String
Name of the newly created mask.
- polylineId
- Type: ObjectId
ObjectId of the polyline used to create mask.
Remarks
Exceptions
| Exception | Condition |
|---|
| System..::..ArgumentException |
Thrown when:
- The specified mask name or polyline is invalid..
- The polyline cannot be used to construct a polygon.
- The polygon specified by polyline is self-crossing.
|
See Also