SurfaceMaskCollectionAdd Method |
Adds a SurfaceMask to the collection.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic SurfaceMask Add(
SurfaceMaskCreationData creationData
)
Public Function Add (
creationData As SurfaceMaskCreationData
) As SurfaceMask
public:
SurfaceMask^ Add(
SurfaceMaskCreationData^ creationData
)
Parameters
- creationData SurfaceMaskCreationData
-
Return Value
SurfaceMask
ExceptionsException | Condition |
---|
ArgumentException |
Thrown when:
- The added Mask's type is InSide and the count of items in the collection is more than 0.
- The linkage is a open polygon.
- The linkage is a self-crossing polygon.
- The Mask using the linkages already exists.
- A Mask with the same name already exists.
|
InvalidOperationException |
Thrown when the first item's type is InSide.
|
See Also