Adds a mask with the given mask name and polygon points.

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

Syntax

C#
public CorridorSurfaceMask Add(
	string maskName,
	Point3dCollection points
)
Visual Basic
Public Function Add ( _
	maskName As String, _
	points As Point3dCollection _
) As CorridorSurfaceMask
Visual C++
public:
CorridorSurfaceMask^ Add(
	String^ maskName, 
	Point3dCollection^ points
)

Parameters

maskName
Type: System..::..String
Name of the newly created mask.
points
Type: Point3dCollection
Points used to create mask.

Exceptions

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

See Also