Trim Input List
Function
This Step keeps the first N items in a data list and output. Items after the Nth item will be discarded.
Usage Scenario
This Step extracts the first N items in a list, and the N value can be set in the parameters by project requirements.
Parameter Description
Ports Settings
| Parameter | Description |
|---|---|
Port Number (1–15) |
Description: Set the number of input and output ports in this Step.
|
Operation Layer |
Description: Specify the layer of elements on which operations should be performed in the list. When the value of this parameter is 0, operations will be performed on every element in the list; otherwise, operations will be performed only on elements of the specified layer.
|
| Parameter | Description |
|---|---|
Output Size |
Description: Set the number of outputs in this Step.
|