SurfaceMaskCollectionAdd Method

Adds a SurfaceMask to the collection.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public SurfaceMask Add(
	SurfaceMaskCreationData creationData
)

Parameters

creationData  SurfaceMaskCreationData
 

Return Value

SurfaceMask
Exceptions
ExceptionCondition
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.
InvalidOperationException Thrown when the first item's type is InSide.
See Also