The following example shows how to write the main coordinate arrays to the specified file using atoms only:
write coordinates from=main output=file.pdb selection=( name ca ) end