Skip to content

Generators

Random - GetFloat

Returns a random float value in the provided interval.

IN

Name Type Description
InRandom Random The input Random
InIntervalStart Float Starting point of the input interval.
InIntervalEnd Float Ending point of the input interval (included). The end point can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float Random float value in the provided interval.
Error ErrorState Gets the execution error message

Random - GetFloatArray

Returns an array of random floats.

IN

Name Type Description
InRandom Random The input Random
InSize Int Size of the array. Range: 〔1, +inf).
InIntervalStart Float Starting point of the input interval.
InIntervalEnd Float Ending point of the input interval (included). The end point can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat FloatArray Array of random floats.
Error ErrorState Gets the execution error message

Random - GetFloatFromInterval

Returns a random float value in the provided interval.

IN

Name Type Description
InRandom Random The input Random
InInterval Interval Input interval. The end point of the interval is included, and it can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutFloat Float Random float value in the provided interval.
Error ErrorState Gets the execution error message

Random - GetInt

Returns a random integer value in the provided range.

IN

Name Type Description
InRandom Random The input Random
InRangeStart Int Starting point of the input range.
InRangeEnd Int Ending point of the input range (included). The end point can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutInt Int Random integer value in the provided range.
Error ErrorState Gets the execution error message

Random - GetIntArray

Returns an array of random integers.

IN

Name Type Description
InRandom Random The input Random
InSize Int Size of the array. Range: 〔1, +inf).
InRangeStart Int Starting point of the input range.
InRangeEnd Int Ending point of the input range (included). The end point can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutInt IntArray Array of random integers.
Error ErrorState Gets the execution error message

Random - GetIntFromRange

Returns a random integer value in the provided range. Note: If the range is empty, the start value is returned.

IN

Name Type Description
InRandom Random The input Random
InRange Range Input range. The end point of the range is included, and the range length can be negative.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutInt Int Random integer value in the provided range.
Error ErrorState Gets the execution error message

Random - GetPoint

Returns a Point2D object with random coordinates included in the provided intervals.

IN

Name Type Description
InRandom Random The input Random
InIntervalX Interval Interval of the X coordinate. The end point of the interval is included, and it can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2D Point2D object with random coordinates included in the provided intervals.
Error ErrorState Gets the execution error message

Random - GetPointArray

Returns an array of Point2D objects with random coordinates included in the provided intervals.

IN

Name Type Description
InRandom Random The input Random
InSize Int Size of the array. Range: 〔1, +inf).
InIntervalX Interval Interval of the X coordinates. The end point of the interval is included, and it can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2D Point2DArray Array of Point2D objects with random coordinates included in the provided intervals.
Error ErrorState Gets the execution error message

Random - GetPosition

Returns a Point2Di object with random coordinates included in the provided intervals.

IN

Name Type Description
InRandom Random The input Random
InRangeX Range Range of the X coordinate. The end point of the range is included, and it can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2Di Point2Di Point2Di object with random coordinates included in the provided intervals.
Error ErrorState Gets the execution error message

Random - GetPositionArray

Returns an array of Point2Di objects with random coordinates included in the provided intervals.

IN

Name Type Description
InRandom Random The input Random
InSize Int Size of the array. Range: 〔1, +inf).
InRangeX Range Range of the X coordinate. The end point of the range is included, and it can be lower than the starting point.
Name String Set the tool's name
Enable Bool Sets if current tool is enabled or not

OUT

Name Type Description
OutPoint2Di Point2DiArray Array of Point2Di objects with random coordinates included in the provided intervals.
Error ErrorState Gets the execution error message