GetObject move curve

I wanted to move a curve this way
But I did not understand it.
I wanted an example to better understand

GetObject(message=None, filter=0, preselect=False, select=False, custom_filter=None, subobjects=False)

@eghbalpourf,

Did you check this link?

-Oguzhan