A super hack way is this:
hide all
python
my_list = cmd.get_object_list() # gets all objects loaded
index = 0
def next_thing():
global index
cmd.show('sticks', my_list[index])
cmd.hide('sticks', my_list[index - 1])
index += 1
def last_thing():
global index
index -= 1
cmd.show('sticks', my_list[index - 1])
cmd.hide('sticks', my_list[index])
cmd.extend('next_thing', next_thing)
cmd.extend('last_thing', last_thing)
python end
Then you can type “next_thing” or “last_thing” to cycle through your objects.
Jordan
On Mar 4, 2014, at 4:03 PM, Thomas Holder <thomas.hol...@schrodinger.com> wrote:
> Hi Thomas,
>
> sure, it's "enable" and "disable".
>
> http://pymolwiki.org/index.php/Enable
> http://pymolwiki.org/index.php/Disable
>
> Cheers,
> Thomas
>
> On 04 Mar 2014, at 13:25, Thomas Evangelidis <teva...@gmail.com> wrote:
>
>> Hi,
>>
>> Is there some command that deactivates an object, namely something
>> equivalent to clicking on an object name at the object panel? I am loading
>> multiple files and render them as sticks but the memory overflows. If there
>> was a command to keep the stick representation but deactivate the object
>> (hide it) then I could visualize the structures one by one once they are all
>> loaded -which is actually what I want.
>>
>> thanks,
>> Thomas
>>
>> --
>> ======================================================================
>> Thomas Evangelidis
>> PhD student
>> University of Athens
>> Faculty of Pharmacy
>> Department of Pharmaceutical Chemistry
>> Panepistimioupoli-Zografou
>> 157 71 Athens
>> GREECE
>> email: tev...@pharm.uoa.gr
>> teva...@gmail.com
>>
>> website: https://sites.google.com/site/thomasevangelidishomepage/
>
>
> --
> Thomas Holder
> PyMOL Developer
> Schrödinger, Inc.
>
>
> ------------------------------------------------------------------------------
> Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
> With Perforce, you get hassle-free workflows. Merge that actually works.
> Faster operations. Version large binaries. Built-in WAN optimization and the
> freedom to use Git, Perforce or both. Make the move to Perforce.
> http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
> _______________________________________________
> 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
------------------------------------------------------------------------------
Subversion Kills Productivity. Get off Subversion & Make the Move to Perforce.
With Perforce, you get hassle-free workflows. Merge that actually works.
Faster operations. Version large binaries. Built-in WAN optimization and the
freedom to use Git, Perforce or both. Make the move to Perforce.
http://pubads.g.doubleclick.net/gampad/clk?id=122218951&iu=/4140/ostg.clktrk
_______________________________________________
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