waveform_editor.ids_fill.size_arrays

waveform_editor.ids_fill.size_arrays(node, paths, time_len, path_index=0)

Resize every array of structure crossed by paths to the size it needs.

The required size of an array is the maximum over all paths of: an explicit index + 1, a bounded slice's stop, or time_len for a dynamic (time-dependent) array addressed without an index. This is computed before resizing, so the result does not depend on the order of paths and each array is grown exactly once. A bare : and arrays with no size source contribute nothing and are grown at fill time instead.


Last update: 2026-07-16