VMD-L Mailing List
From: John Stone (johns_at_ks.uiuc.edu)
Date: Thu Nov 13 2008 - 08:45:40 CST
- Next message: Heikki Kasnanen: "How to set the default properties of drawing methods?"
- Previous message: Thomas C. Bishop: "Re: VMD crashes on displaying NewRibbons or New Cartoon"
- In reply to: Heikki Kasnanen: "How to set the default properties of drawing methods?"
- Next in thread: no tengo nombre: "Re: How to set the default properties of drawing methods?"
- Reply: no tengo nombre: "Re: How to set the default properties of drawing methods?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
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: Heikki Kasnanen: "How to set the default properties of drawing methods?"
- Previous message: Thomas C. Bishop: "Re: VMD crashes on displaying NewRibbons or New Cartoon"
- In reply to: Heikki Kasnanen: "How to set the default properties of drawing methods?"
- Next in thread: no tengo nombre: "Re: How to set the default properties of drawing methods?"
- Reply: no tengo nombre: "Re: How to set the default properties of drawing methods?"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]