CatchmentCreate Method

Creates a new catchment given a name, style id, reference surface id, polyline.

Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntax
public static ObjectId Create(
	string name,
	ObjectId styleId,
	ObjectId catchmentGroupId,
	ObjectId surfaceId,
	Point3dCollection boundary
)

Parameters

name  String
 
styleId  ObjectId
 
catchmentGroupId  ObjectId
 
surfaceId  ObjectId
ObjectId of referece surface.ObjectId.Null is valid and means no referece surface is assigned.
boundary  Point3dCollection
 

Return Value

ObjectId
Remarks
The boundary must be a closed polygon, and a simple (non-intersecting) polygon.
See Also