Forum Navigation
You need to log in to create posts and topics.

save bonds in text file

hi

I created bonds in my pdb by create bonds modifier . I wonder if I can save them in a text file

thanks.

Hi,

do you have a specific file-format in mind? The lammps/data or GSD/HOOMD, e.g. allow to export the bonds along with the particles.
https://www.ovito.org/docs/current/usage.export.php

Alternatively, you can always use the python interface to export the bonds and format the data according to your needs.