Variable slab configuration with an adaptive family

Hello ,

I would like to make a variable slab with an adaptive family.

  • Variable in width, because the I know the points (X, Y, Z) on the left, in the center and on the right.
    I integrate the values ​​with an Excel file.
    Suddenly the slope will be automatically taken into account with the value of Z.
    The problem with the profile I have below is that the width is fixed as well as the Z during the extrusion
    Can you tell me what’s wrong?

image

Thank you in advance