Re: [PyMOL] command to deactivate/hide an object

2014-03-04 Thread Jordan Willis
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

Re: [PyMOL] command to deactivate/hide an object

2014-03-04 Thread Thomas Holder
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 wrote: > Hi, > > Is there some command that deactivates an object, namely something equivalent > to clicki

[PyMOL] command to deactivate/hide an object

2014-03-04 Thread Thomas Evangelidis
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 (hi