Gets an array that contains a random sample of TinSurfaceVertex objects inside the polyline.
Namespace: Autodesk.Civil.DatabaseServices
Assembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.8.0.280
Syntax
C#
public TinSurfaceVertex[] GetVerticesInsidePolylinesRandom( ObjectIdCollection polylineIds, int randomNumber )
VB
Public Function GetVerticesInsidePolylinesRandom ( polylineIds As ObjectIdCollection, randomNumber As Integer ) As TinSurfaceVertex()
C++
public: array<TinSurfaceVertex^>^ GetVerticesInsidePolylinesRandom( ObjectIdCollection^ polylineIds, int randomNumber )
Parameters
- polylineIds ObjectIdCollection
- A collection that contains polyline ObjectIds.
- randomNumber Int32
- The number of TinSurfaceVertices objects to get.
Return Value
TinSurfaceVertexExceptions
Exception | Condition |
---|---|
ArgumentException |
Thrown when:
|