VMD-L Mailing List
From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Fri Apr 28 2006 - 12:32:59 CDT
- Next message: John Stone: "Re: hiding and renaming of graphical objects"
- Previous message: Enzo Vitale: "hiding and renaming of graphical objects"
- In reply to: Enzo Vitale: "hiding and renaming of graphical objects"
- Next in thread: John Stone: "Re: hiding and renaming of graphical objects"
- Reply: John Stone: "Re: hiding and renaming of graphical objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]
On Fri, 28 Apr 2006, Enzo Vitale wrote:
EV> Dear VMD developers,
hi enzo,
EV> I have two simple questions about the 'graphics' command:
EV>
EV> 1) is it possible to assign a NAME to a graphical object, so that it
EV> is simpler to reference it in a script (instead of having to figure
EV> out its number) ?
no, but each graphics command returns the id of its object(s).
and if you write scripts in the form of the ones shown e.g. at:
http://www.theochem.ruhr-uni-bochum.de/~axel.kohlmeyer/cpmd-vmd/part7.html#chap9_sect1
you can easily keep track of them.
EV> 2) Is it possible to HIDE an object without deleting or replacing it,
EV> so that it can be showed again later ?
not as such. you could try using a second molecule and draw to
that molecule without having any representations for that molecule.
if you show/hide the second (third etc) 'molecule' the objects
should be visible or disappear.
EV> I use VMD 1.8.3 on Windows.
ciao,
axel.
EV>
EV> Thank you in advance,
EV> Enzo
EV>
-- ======================================================================= Axel Kohlmeyer akohlmey_at_cmm.chem.upenn.edu http://www.cmm.upenn.edu Center for Molecular Modeling -- University of Pennsylvania Department of Chemistry, 231 S.34th Street, Philadelphia, PA 19104-6323 tel: 1-215-898-1582, fax: 1-215-573-6233, office-tel: 1-215-898-5425 ======================================================================= If you make something idiot-proof, the universe creates a better idiot.
- Next message: John Stone: "Re: hiding and renaming of graphical objects"
- Previous message: Enzo Vitale: "hiding and renaming of graphical objects"
- In reply to: Enzo Vitale: "hiding and renaming of graphical objects"
- Next in thread: John Stone: "Re: hiding and renaming of graphical objects"
- Reply: John Stone: "Re: hiding and renaming of graphical objects"
- Messages sorted by: [ date ] [ thread ] [ subject ] [ author ] [ attachment ]