Adds a mask with the given mask name and polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.2.3892.0
Syntax
C#
public CorridorSurfaceMask Add( string maskName, ObjectId polylineId )
Visual Basic
Public Function Add ( _ maskName As String, _ polylineId As ObjectId _ ) As CorridorSurfaceMask
Visual C++
public: CorridorSurfaceMask^ Add( String^ maskName, ObjectId polylineId )
Parameters
- maskName
- Type: System.String
Name of the newly created mask.
- polylineId
- Type: ObjectId
ObjectId of the polyline used to create mask.
Remarks
Only Autodesk.AutoCAD.DatabaseServices.Polyline, Autodesk.AutoCAD.DatabaseServices.Polyline2d and Autodesk.AutoCAD.DatabaseServices.Polyline3d are supported.
Exceptions
Exception | Condition |
---|---|
System.ArgumentException |
Thrown when:
|