From: Axel Kohlmeyer (
Date: Wed Feb 03 2021 - 13:07:03 CST

please note that the "pbc" commands are Tcl script commands and not
something that is accessible via the regular default setting options in VMD.

your best option would probably be to write a custom function to turn this
graphics on (and with the desired setting) and then connect that with a Tcl
you probably also what to delete the custom graphics when the molecule is
deleted and thus have a second function connected to the corresponding
other callback.


On Wed, Feb 3, 2021 at 1:56 PM Henrik Hariman <>

> Dear VMD users,
> Would you please let me know what command I should add to the .vmdrc file
> to alter the default so I would have the "pbc box on" as default? the same
> please for the color box, to change the default from blue to gray.
> Thank you,
> Henrik

Dr. Axel Kohlmeyer;!!DZ3fjg!p90y8_Fo8WwH5ilgUzAzB7sM8LKUVOzQVoO07nkueXunMHz3xB6OcKQgcOuz9SUn6A$ 
College of Science & Technology, Temple University, Philadelphia PA, USA
International Centre for Theoretical Physics, Trieste. Italy.