CorridorSurfaceMaskCollectionAdd(String, Point3dCollection) Method

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

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public CorridorSurfaceMask Add(
	string maskName,
	Point3dCollection points
)

Parameters

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

Return Value

CorridorSurfaceMask
Exceptions
ExceptionCondition
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