How can I convert to pdb file?

I would like to know how I can convert the Avogadro file (that is automatically saved as when I save my work) to a pdb file that I can use in Autodock Vina or Pyrx. If not possible, then what can I do instead to use the molecule in Autodock Vina?
If you have any suggestions, please let me know.