[PyMOL] invoke ramp_new without drawing 'ramp' CGO

2009-08-25 Thread Stephen Graham
Dear all,

Is it possible to invoke ramp_new and have it not draw the 'ramp' CGO?
 It's easy enough to hide the CGO when working interactively, but I've
yet to find a way to zap it from a script (without also getting rid of
the colour ramping itself).

'hide everything, my_ramp' doesn't seem to hide the CGO, and issuing
'delete my_ramp' from within a script kills the colour ramp before it
gets applied (to a surface, in this case, despite the order of
operations in the script).

Thanks,

Stephen

-- 
Dr Stephen Graham
Division of Structural Biology
Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford OX3 7BN
United Kingdom
Phone: +44 1865 287 549

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


Re: [PyMOL] invoke ramp_new without drawing 'ramp' CGO

2009-08-25 Thread Warren DeLano
Stephen,

ramp_new ramp-name, ...

disable ramp-name

Cheers,
Warren

> -Original Message-
> From: Stephen Graham [mailto:steph...@strubi.ox.ac.uk]
> Sent: Tuesday, August 25, 2009 10:09 AM
> To: pymol-users@lists.sourceforge.net
> Subject: [PyMOL] invoke ramp_new without drawing 'ramp' CGO
> 
> Dear all,
> 
> Is it possible to invoke ramp_new and have it not draw the 'ramp' CGO?
>  It's easy enough to hide the CGO when working interactively, but I've
> yet to find a way to zap it from a script (without also getting rid of
> the colour ramping itself).
> 
> 'hide everything, my_ramp' doesn't seem to hide the CGO, and issuing
> 'delete my_ramp' from within a script kills the colour ramp before it
> gets applied (to a surface, in this case, despite the order of
> operations in the script).
> 
> Thanks,
> 
> Stephen
> 
> --
> Dr Stephen Graham
> Division of Structural Biology
> Wellcome Trust Centre for Human Genetics
> Roosevelt Drive
> Oxford OX3 7BN
> United Kingdom
> Phone: +44 1865 287 549
> 
>

--
> 
> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
30-
> Day
> trial. Simplify your report design, integration and deployment - and
focus
> on
> what you do best, core application coding. Discover what's new with
> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
> ___
> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
> Archives:
http://www.mail-archive.com/pymol-users@lists.sourceforge.net
> 
> 
> 



--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net


Re: [PyMOL] invoke ramp_new without drawing 'ramp' CGO

2009-08-25 Thread Stephen Graham
tested, works, brilliant, thanks.

Stephen

2009/8/25 Warren DeLano :
> Stephen,
>
> ramp_new ramp-name, ...
>
> disable ramp-name
>
> Cheers,
> Warren
>
>> -Original Message-
>> From: Stephen Graham [mailto:steph...@strubi.ox.ac.uk]
>> Sent: Tuesday, August 25, 2009 10:09 AM
>> To: pymol-users@lists.sourceforge.net
>> Subject: [PyMOL] invoke ramp_new without drawing 'ramp' CGO
>>
>> Dear all,
>>
>> Is it possible to invoke ramp_new and have it not draw the 'ramp' CGO?
>>  It's easy enough to hide the CGO when working interactively, but I've
>> yet to find a way to zap it from a script (without also getting rid of
>> the colour ramping itself).
>>
>> 'hide everything, my_ramp' doesn't seem to hide the CGO, and issuing
>> 'delete my_ramp' from within a script kills the colour ramp before it
>> gets applied (to a surface, in this case, despite the order of
>> operations in the script).
>>
>> Thanks,
>>
>> Stephen
>>
>> --
>> Dr Stephen Graham
>> Division of Structural Biology
>> Wellcome Trust Centre for Human Genetics
>> Roosevelt Drive
>> Oxford OX3 7BN
>> United Kingdom
>> Phone: +44 1865 287 549
>>
>>
> 
> --
>> 
>> Let Crystal Reports handle the reporting - Free Crystal Reports 2008
> 30-
>> Day
>> trial. Simplify your report design, integration and deployment - and
> focus
>> on
>> what you do best, core application coding. Discover what's new with
>> Crystal Reports now.  http://p.sf.net/sfu/bobj-july
>> ___
>> PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
>> Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
>> Archives:
> http://www.mail-archive.com/pymol-users@lists.sourceforge.net
>>
>>
>>
>
>
>



-- 
Dr Stephen Graham
Division of Structural Biology
Wellcome Trust Centre for Human Genetics
Roosevelt Drive
Oxford OX3 7BN
United Kingdom
Phone: +44 1865 287 549

--
Let Crystal Reports handle the reporting - Free Crystal Reports 2008 30-Day 
trial. Simplify your report design, integration and deployment - and focus on 
what you do best, core application coding. Discover what's new with 
Crystal Reports now.  http://p.sf.net/sfu/bobj-july
___
PyMOL-users mailing list (PyMOL-users@lists.sourceforge.net)
Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net