From: John Stone (
Date: Thu Oct 08 2015 - 14:11:16 CDT

  You can use the lower level "graphics replace" command to delete
a particular graphics command ID with a subsequently added graphics command.
To do this, you have to keep track of the graphics command IDs returned
when you run your 'draw' or 'graphics' commands. The User's Guide
discusses this, although the description could be improved quite a bit.

  John Stone

On Thu, Oct 08, 2015 at 06:48:07PM +0000, Ebert Maximilian wrote:
> Hi,
> is there a way to change the color of a drawn object if this object has a molecule ID of its own. Example
> mol new
> mol rename top new-object
> draw color red
> draw sphere {0,0,0}
> How to change the sphere to green?
> Thanks

NIH Center for Macromolecular Modeling and Bioinformatics
Beckman Institute for Advanced Science and Technology
University of Illinois, 405 N. Mathews Ave, Urbana, IL 61801           Phone: 217-244-3349