/
deinterleave
GiD - The personal pre and post processor
deinterleave
objarray deinterleave <obj> <num_components>
Reorder the array to separate each component in consecutive blocks. The array size must be multiple of num_components.
<obj> the objarray to be reordered
<num_components> integer>0
Warning: the values of <obj> itself are modified, without creating another copy of the object
e.g.
set obj {x0 y0 x1 y1 x2 y2}
set num_components 2
objarray deinterleave $obj $num_components
-> x0 x1 x2 y0 y1 y2
COPYRIGHT © 2022 · GID · CIMNE