Gets an array that contains a random sample of TinSurfaceVertex objects inside the polyline.
Namespace: Autodesk.Civil.DatabaseServicesAssembly: AeccDbMgd (in AeccDbMgd.dll) Version: 13.4.2516.0
Syntax
C# |
---|
public TinSurfaceVertex[] GetVerticesInsidePolylinesRandom(
ObjectIdCollection polylineIds,
int randomNumber
) |
Visual Basic |
---|
Public Function GetVerticesInsidePolylinesRandom ( _
polylineIds As ObjectIdCollection, _
randomNumber As Integer _
) As TinSurfaceVertex() |
Visual C++ |
---|
public:
array<TinSurfaceVertex^>^ GetVerticesInsidePolylinesRandom(
ObjectIdCollection^ polylineIds,
int randomNumber
) |
Parameters
- polylineIds
- Type: ObjectIdCollection
A collection that contains polyline ObjectIds.
- randomNumber
- Type: System..::..Int32
The number of TinSurfaceVertices objects to get.
Remarks
Exceptions
Exception | Condition |
---|
System..::..ArgumentException |
Thrown when:
- The ObjectIdCollection contains types of ObjectId other than Autodesk.AutoCAD.DatabaseServices.Polyline.
- The polylineIds count is 0.
- The randomNumber is less than or equal to 0.
|
See Also