From: Vermaas, Joshua (
Date: Mon Apr 29 2019 - 11:15:05 CDT


The unit cell dimension setting is hidden under pbctools ( So:

package require pbctools
pbc set [list $a $b $c $alpha $beta $gamma]

Then you can script more things as needed.


On 2019-04-29 09:05:50-06:00 wrote:

Hi all,

I'd like to ask if there is a way to do the following via commands in a .tcl file

like so:

vmd -e unitcellsettings.tcl).

What I would like to set automatically is:

In the Main VMD panel, go to "Extensions $B"*(B Analysis $B"*(B Radial Pair Distribution Function" and under the pull- down Utilities menu, select Set unit cell dimensions. Enter a, b, c, alpha, beta, gamma.

Thanks in advance!