
Hi Richard, Oops. That Chimera code for setting the quality was wrong. It should be import chimera chimera.LODControl.get().quality = 20 The trouble with the original code is that it set the quality in the level-of-detail control class instead of the in the specific instance of that class being used by Chimera. I'll fix the online movie course material that had that incorrect code. Thanks for pointing out the problem. Tom Marhoefer, R (Richard) wrote:
Dear Chimera Users,
I want to adjust the quality of spheres, cylinders and ribbons in a script. From the moviemaking tutorial script I learned that I must use some lines of Python. Therefore, I used the code as found in the example:
import chimera chimera.LODControl.quality = 20
When I open this script like in the tutorial, the value of "subdivision quality" in the "Effects" panel is indeed set to 20. However, the quality of spheres and cylinders remains untouched. From that point in time any further modifications of the value in the "Effects" panel do not have any effect.
If I change the value of "subdivision quality" in the "Effects" panel before opening the Python code, anything works fine.
Did anybody succeed with changing the sphere quality in a script?
Kind regards, Richard
Mit freundlichen Grüßen / With kind regards
Dr. Richard Marhoefer Senior Scientist BioChemInformatics Intervet Innovation GmbH Zur Propstei 55270 Schwabenheim, Germany
E-Mail: richard.marhoefer@sp.intervet.com Phone: +49 (6130) 948 204 Fax: +49 (6130) 948 517 Mobile: +49 175 723 081 4 Home http://www.intervet.com
Sitz der Gesellschaft: Schwabenheim Amtsgericht Mainz, HRB 23 166 Geschäftsführer: Dr. Peter Schmid
-------------------------------------- This message and any attachments are solely for the intended recipient.
If you are not the intended recipient, disclosure, copying, use or distribution of the information included in this message is prohibited
-- please immediately and permanently delete. -------------------------------------- _______________________________________________ Chimera-users mailing list Chimera-users@cgl.ucsf.edu http://www.cgl.ucsf.edu/mailman/listinfo/chimera-users