Geometry translate in z direction with respect to values

Hi all,

I am trying to translate line geometry in z direction at a distance. but I am not getting as per the requirement.

I have list of lines (grouped by lengths) and list of distances. I want to translate geometry with respect to distance feeded. I have even tried to change levels, lacing but not working. Please find the snip below for the reference. Please let me know where I am missing ?

The required result will something look like this

If I am not wrong I have done this to get the required result but if I receive optimized solution it will be highly appreciated. Thanks

1 Like