Re: Transferring bond list to new molecule

From: Josh Vermaas (vermaas2_at_illinois.edu)
Date: Wed Dec 17 2014 - 08:18:18 CST

Technically a vmd-L question, but see the documentation for topotools
for your answer
(http://www.ks.uiuc.edu/Research/vmd/plugins/topotools/#TOC-getbondlist-type-order-both-none-).
Basically it would be something like:

set bl [topo getbondlist none -molid 0]
topo setbondlist none -molid 1

-Josh Vermaas
On 12/16/2014 11:17 PM, Mert Gür wrote:
> Dear all,
>
> I just can't find the keyword that I am looking for. I am trying to
> transfer the bond list of a molecule (ID 0) to its replica that I have
> generated (ID 1).
>
> In other words I would like to make the following operation for a bond
> list instead of atom names;
>
> set p [atomselect 0 all]
> set pn [$p get name]
>
> set a [atomselect 1 all]
> $a set name $pn
>
> Thanks,
>
> Mert

This archive was generated by hypermail 2.1.6 : Wed Dec 31 2014 - 23:23:07 CST