Creates a new catchment given a name, style id, reference surface id, polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.292
Syntaxpublic static ObjectId Create(
string name,
ObjectId styleId,
ObjectId catchmentGroupId,
ObjectId surfaceId,
Point3dCollection boundary
)
Public Shared Function Create (
name As String,
styleId As ObjectId,
catchmentGroupId As ObjectId,
surfaceId As ObjectId,
boundary As Point3dCollection
) As ObjectId
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