How to move a curtain wall grid line?

Hello- could someone please tell me how to move a curtain grid with the api- when I look at the docs it looks as if this member was made obsolete after 2015

and want to know what has taken its place?

thankyou

You can write a script to move the grid line using its .Location property

gridLine.Location.Move(DB.XYZ(1,0,0))