Revit element is not getting moved to the new location

I am trying to move an element in x direction by some distance. The scripts runs well abut the revit element is not getting moved to the new location. kindly help me out fo this. Please find the Snip for reference and let me know asap.

Thanks in advance.

Hello…think set location could help you here…

Hello @sovitek Thanks for your reply. I have r=tried it but it is not working. I am getting error like element.setlocation operation failed. please supply a point geometry.
Please let me know

Hi…you will need a point, so find the centerpoint at your family and only translate that…hope it helps

1 Like

Thanks @sovitek It worked.

1 Like