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

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

Syntax

C#
public static ObjectId Create(
	string name,
	ObjectId styleId,
	ObjectId catchmentGroupId,
	ObjectId surfaceId,
	Point3dCollection boundary
)
Visual Basic
Public Shared Function Create ( _
	name As String, _
	styleId As ObjectId, _
	catchmentGroupId As ObjectId, _
	surfaceId As ObjectId, _
	boundary As Point3dCollection _
) As ObjectId
Visual C++
public:
static ObjectId Create(
	String^ name, 
	ObjectId styleId, 
	ObjectId catchmentGroupId, 
	ObjectId surfaceId, 
	Point3dCollection^ boundary
)

Parameters

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

Remarks

The boundary must be a closed polygon, and a simple (non-intersecting) polygon

See Also