VMD-L Mailing List
From: no tengo nombre (nuevo25es_at_yahoo.es)
Date: Thu Nov 13 2008 - 11:55:11 CST
- Next message: John Stone: "Re: wavefront and VMD"
 - Previous message: Heikki Kasnanen: "How to set the default properties of drawing methods?"
 - In reply to: John Stone: "Re: How to set the default properties of drawing methods?"
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
 
hi
i send there an example for load varios molecules and apply to each the same properties. i hope that are useful to you.
bye
display projection orthographic
foreach f [ lsort [ glob deposit0*.xyz ] ] {  //change the names of files deposit0*.xyz for other patterns.
    mol new $f type xyz   // load the file in format xyz
    mol modcolor 0  [molinfo top] Element 
    mol modstyle 0  [molinfo top] VDW 1.0 8.0 //change the style to VDW with parameters 1.0 and 8.0 
}
--- El jue, 13/11/08, John Stone <johns_at_ks.uiuc.edu> escribió:
> De: John Stone <johns_at_ks.uiuc.edu>
> Asunto: Re: vmd-l: How to set the default properties of drawing methods?
> Para: "Heikki Kasnanen" <Heikki.Kasnanen_at_uku.fi>
> CC: "vmd-l_at_ks.uiuc.edu" <vmd-l_at_ks.uiuc.edu>
> Fecha: jueves, 13 noviembre, 2008 3:45
> Hi,
>   See the "mol default" command.  You can use it
> to affect the 
> default color, style, selection, material, and so on.
> Here's an example:
>   mol default color {colorID 5}
>   mol default style {NewCartoon 0.300000 6.000000 4.100000
> 0}
>   mol default selection {name CA}
>   mol default material {Diffuse}
> 
> Cheers,
>   John Stone 
> 
> On Thu, Nov 13, 2008 at 04:39:43PM +0200, Heikki Kasnanen
> wrote:
> > Hello dear fellow VMDers,
> > 
> > I was wondering if there is a way to set the default
> properties of a drawing method, for example, sphere
> resolution, bond radius and resolution for
> "Licorice" by using text commands? The manual
> defines various options for the "mol" command, but
> I was unable to locate if there are any specific,
> controllable options for each drawing style. I have a rather
> large number of small molecules loaded in VMD, and it would
> be beneficial to control the properties of each
> representation without using the GUI.
> > 
> > Cheers,
> > 
> > Heikki
> > 
> > --------------------------------------------------
> > Heikki Käsnänen, M.Sc.(Pharm.)
> > Department of Pharmaceutical Chemistry
> > University of Kuopio
> > P.O.BOX 1627
> > FIN-70211 Kuopio
> > Finland
> > phone: (work) +358 403553667
> >            (home)+358 503793602
> > email: heikki.kasnanen_at_uku.fi
> 
> -- 
> 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: John Stone: "Re: wavefront and VMD"
 - Previous message: Heikki Kasnanen: "How to set the default properties of drawing methods?"
 - In reply to: John Stone: "Re: How to set the default properties of drawing methods?"
 - Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
 



