Share

Catchment.Create 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.280

Syntax

C#

public static ObjectId Create(
	string name,
	ObjectId styleId,
	ObjectId catchmentGroupId,
	ObjectId surfaceId,
	Point3dCollection boundary
)

VB

Public Shared Function Create ( 
	name As String,
	styleId As ObjectId,
	catchmentGroupId As ObjectId,
	surfaceId As ObjectId,
	boundary As Point3dCollection
) As ObjectId

C++

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

Reference

Was this information helpful?