From: John Stone (
Date: Wed Oct 18 2006 - 13:14:01 CDT

  At present, VMD is not making use of this plugin entry point.
The webpdbplugin uses Tcl (in a different way) however, and you can
model your plugin after that one if your plugin needs to execute Tcl commands
while it does its work. Look at webpdbplugin.c and you'll see how that
one does it. I believe our original intention was to give the plugins
access to the VMD Tcl interpreter handle, but we haven't needed it, so
it never got fleshed out. If you can use the same method that the webpdbplugin
implements, then you won't need that. If you do end up needing access
to the VMD Tcl interpreter handle, let me know and I'll see about adding
the necessary bits of code for that in the core of VMD.


On Wed, Oct 18, 2006 at 10:24:21AM -0400, Miller, Patrick wrote:
> I'm trying to use the optional tcl registration of a VMD plugin
> and can't seem to get it to register (VMD 1.8.5). Are there
> examples of its use?
> VMDPLUGIN_API int VMDPLUGIN_register_tcl(void *v, void *tcl_interp,
> vmdplugin_register_cb cb) {
> puts("Hello??? anybody out there");
> }

NIH Resource for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801
Email:                 Phone: 217-244-3349
  WWW:      Fax: 217-244-6078