Restraints.write() — write spatial restraints

write(file)
This command writes the currently selected restraints to a file. These can be read with the Restraints.append() command.

file can be a filename or a writeable file handle (see modfile.File()).

Example: See Restraints.make() command.