Connect Slider value to BridgeEdgeOffset



i’m creating a mesh blender inside maya with Python. But I encounter a problem. I want to create a slider (floatSliderGrp) that change my PolyBridgeEdge offset attribute but I don’t know how ? Does I need to create a buffer that change my offset value depending on my slider value ? Moreover, I saw attrFieldSliderGrp, but I don’t think that is the good command. Can you help me please ?

Thank You !