|
From: gilleain t. <gil...@gm...> - 2008-10-29 20:49:18
|
Hmmm.
I'm probably over-complicating matters, but:
def before_load():
cmd.delete("all")
def after_load():
cmd.as("cartoon")
cmd.hide("nonbonded")
def wrapped_load(filename):
before_load()
cmd.load(filename)
after_load()
cmd.extend("wrapped_load", wrapped_load)
gilleain
On Wed, Oct 29, 2008 at 7:26 PM, Nathaniel Echols
<nat...@gm...> wrote:
> On Wed, Oct 29, 2008 at 11:39 AM, Thomas S. Leyh, Ph. D. <le...@ae...>
> wrote:
>>
>> Every once in a while, I try to show a metal ion as a tranparent
>> sphere and inevetiably get stuck trying to make the tiny cartesian
>> coordinate system that appears at the center of the sphere disappear so it
>> doesn't "show through". Suggestions?
>
> I think you want "hide nonbonded".
> I have a related question: is there a way (or could there be) to control the
> default appearance of molecules upon loading? Personally, when I use PyMOL
> I almost always want to look at cartoons, without nonbonded atoms.
> Something as simple as a few new settings that I could throw in ~/.pymolrc
> would be fine.
> -------------------------------------------------------------------------
> This SF.Net email is sponsored by the Moblin Your Move Developer's challenge
> Build the coolest Linux based applications with Moblin SDK & win great
> prizes
> Grand prize is a trip for two to an Open Source event anywhere in the world
> http://moblin-contest.org/redirect.php?banner_id=100&url=/
> _______________________________________________
> PyMOL-users mailing list
> PyM...@li...
> https://lists.sourceforge.net/lists/listinfo/pymol-users
>
>
|