From: Axel Kohlmeyer (akohlmey_at_cmm.chem.upenn.edu)
Date: Tue Feb 03 2009 - 12:10:49 CST

On Tue, 3 Feb 2009, bonicoli_at_loria.fr wrote:

PLB> Hi,
PLB>
PLB> I try to create a new representation. I want that a property iterate
PLB> automatically over a range : for example "draw style" VDW representation
PLB> with "sphere scale" property automatically varying from 0.0 to 2.0 with a
PLB> step of 0.1.

iterate by what property? time step number?

please note that the vdw representation uses
the radius propery of an atom for the actual
radius, so just resetting those radius values
can handle that easily and that can be done
from a script, no need to change the source.

cheers,
   axel.

PLB>
PLB> I have read DrawMolItem.C, DrawMolItemMSMS.C, GraphicsFltkReps.h files but
PLB> i have no idea how to do that.
PLB>
PLB> Thanks a lot in advance for any suggestions,
PLB>
PLB> Pierre-Louis
PLB>

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