Setting the current target translation

Instead of always uploading a PDF prior to working with it, you can choose to work with a PDF that has already been uploaded. To do this you must get a listing of all PDFs owned by the user (see Document List). You then tell the API the ID of the target translation you wish to work with.

trans_pdf.set_target_id(target_id )

Sets the current target translation using the unique ID target_id.
No verification is done at this point. If the ID is invalid or belongs to a PDF owned by a different user, later calls to the API will raise an appropriate exception.