VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Wed Oct 18 2006 - 13:14:01 CDT
- Next message: Al-Rawi, Ahlam: "external force"
- Previous message: John Stone: "Re: retrieving the center of mass for each frame of trajectory"
- In reply to: Miller, Patrick: "Using VMDPLUGIN_register_tcl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
Patrick,
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.
John
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");
> return VMDPLUGIN_SUCCESS;
> }
-- 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: johns_at_ks.uiuc.edu Phone: 217-244-3349 WWW: http://www.ks.uiuc.edu/~johns/ Fax: 217-244-6078
- Next message: Al-Rawi, Ahlam: "external force"
- Previous message: John Stone: "Re: retrieving the center of mass for each frame of trajectory"
- In reply to: Miller, Patrick: "Using VMDPLUGIN_register_tcl"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]