Multiple Len(x) in dynamic components

LenX (and LenY,LenZ) define the ‘bounding box’ of the Component. To accomplish what you need, you would have to divide the shape in multiple shapes.

Check this thread: