[PyMOL] How to iterate over a distance object?

2025-01-27 Thread Csongor MATYAS via PyMOL-users
I am trying to iterate over lots of distances that I can generate with cmd.distance(name = 'distA_B', selection1 = 'selA', selection2 = 'selB', cutoff = 3.6, mode = 2) for example. My only problem is that I don't know how to iterate over them. How can one iterate over objects that are not select

Re: [PyMOL] How to iterate over a distance object?

2025-01-27 Thread Tamas Hegedus
Please, google "pymol iterate objects" 3rd in the hit list: [PyMOL] iterating over list of objects for i in *cmd.get_object_list()*: cmd.align( i, reference ) On Mon, Jan 27, 2025 at 9:56 AM Csongor MATYAS via PyMOL-users < pymol-users@lists.sourceforge.net> wrote: > I am trying to iterate over