Skip to main content

repeat

Repeat a value multiple times

Holly Conrad Smith avatar
Written by Holly Conrad Smith
Updated over a week ago

Create n duplicates of the same object and place them into a list.

Inputs

Name

Abbreviation

Type

Access

Description

Value

V

Any

Item

The value to repeat

Count

C

Number

Item

The number of times to repeat the value

Outputs

Name

Abbreviation

Type

Access

Description

List

L

Any

List

The list of repeated values

How-To

  1. Input a value (feature, object, number, etc)

  2. Input a count.

    This is how many times to repeat or duplicate the input.

    Type a number in the box, or connect to another numerical output

  3. The output is a list with n duplicates of the original value

Example:

Duplicate 5 times, then move the elements a set distance

The original feature is a square.

The square is repeated 5 times, to create a list of 5 items.

Then, the list is iterated on using map, construct vector, and translate.

Did this answer your question?