Adds a SurfaceMask to the collection.

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

Syntax

C#
public SurfaceMask Add(
	SurfaceMaskCreationData creationData
)
Visual Basic
Public Function Add ( _
	creationData As SurfaceMaskCreationData _
) As SurfaceMask
Visual C++
public:
SurfaceMask^ Add(
	SurfaceMaskCreationData^ creationData
)

Exceptions

ExceptionCondition
System..::..ArgumentException Thrown when:
  1. The added Mask's type is InSide and the count of items in the collection is more than 0.
  2. The linkage is a open polygon.
  3. The linkage is a self-crossing polygon.
  4. The Mask using the linkages already exists.
  5. A Mask with the same name already exists.
System..::..InvalidOperationException Thrown when the first item's type is InSide.

See Also