ET GeoWizards Toolbox
Random Points On Polylines
(Go to the main page of the function)
Generates random points located on the polylines of the input polyline dataset. The number of points per polyline can be constant or different for each polyline - based on the values in a numeric field of the input polyline feature class.
Command line syntax
ET_GPRandomPointsOnPolylines<input_dataset> <out_feature class> {number_points_field} {number_points}
Parameters
| Expression | Explanation |
|---|---|
| <input_dataset> | A Plyline feature class or feature layer |
| <out_feature class> | A String - the full name of the output feature class. |
| {number_points_field} | Optional. A String numeric field which values will be used to get the number of points to be generated per polyline. |
| {number_points} | Optional.
A number that is used in two ways
|
Note: One of number_points_field or number_points should be specified.
Scripting syntax
ET_GPRandomPointsOnPolylines(input_dataset, out_feature class, number_points_field, number_points)
See the explanations above:
<> - required parameter
{} - optional parameter