Creates a new catchment given a name, style id, reference surface id, polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.208.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
- boundary
- Type: Point3dCollection
Remarks
The boundary must be a closed polygon, and a simple (non-intersecting) polygon