From: John Stone (johns_at_ks.uiuc.edu)
Date: Fri Jun 02 2006 - 12:27:14 CDT

Hi,
  If you're asking for how to make your button cause a PDB file to be
displayed, the simple way of course is to command VMD to load it with
'mol new myfile.pdb' when your "View" button is pressed, for example.

  John Stone
  vmd_at_ks.uiuc.edu
 
On Fri, Jun 02, 2006 at 12:15:20PM -0400, ikek70 wrote:
> Hello VMD users,
>
> I made a plugin that creates some PDB files. The plugin also has a "View"
> button. I hope when the button is clicked, the 3D image of the PDB file is
> displayed in the display window of VMD. The plugin is written in Tcl.
>
> Many thanks,
> DongKwan.

-- 
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