Creates a new sample line with specified vertex points.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public static ObjectId Create( string sampleLineName, ObjectId sampleLineGroupId, Point2dCollection points )
VB
Public Shared Function Create ( sampleLineName As String, sampleLineGroupId As ObjectId, points As Point2dCollection ) As ObjectId
C++
public: static ObjectId Create( String^ sampleLineName, ObjectId sampleLineGroupId, Point2dCollection^ points )
Parameters
- sampleLineName String
- The name of the newly created sample line.
- sampleLineGroupId ObjectId
- The ObjectId of the sample line group to which the newly created sample line is added.
- points Point2dCollection
- The points used as the vertex of the newly created sample line.
Return Value
ObjectIdThe ObjectId of the newly created sample line.
Exceptions
Exception | Condition |
---|---|
[!:System.ArgumentException] |
Thrown when:
|