Re: [PyMOL] Tab completion using object names, not filesystem files?

2012-10-17 Thread Ron Jacak
Hi Thomas, Thanks for the quick reply. That worked exactly the way I wanted! I had read the auto_arg Wiki page, but it didn't click that I had to define a new list specifically for the command I wanted the tab completion to work for (i.e. select). I thought it applied to all commands. So, for

Re: [PyMOL] Tab completion using object names, not filesystem files?

2012-10-17 Thread Thomas Holder
Hi Ron, tab completion is controlled by the cmd.auto_arg variable, which is a list of dictionaries. http://pymolwiki.org/index.php/auto_arg For all arguments which do not have an entry in auto_arg, the default is to auto-complete file names. For your purpose you need to define something like

[PyMOL] Tab completion using object names, not filesystem files?

2012-10-17 Thread Ron Jacak
PyMOL-users, I'm wondering if there's a way to make the tab completion engine use the currently loaded (or visible) object names rather than (or in addition to) the files in the filesystem? I usually have sessions with very long object names that I want to include in custom selection expressions

Re: [PyMOL] Label on top of molecules?

2012-10-17 Thread Jason Vertrees
Hi Boris, Takanori had some good ideas to try. I just wanted to let you know that you uncovered some bugs that we've taken note of and will fix in both on-screen rendering and in ray traced mode. Cheers, -- Jason On Wed, Oct 17, 2012 at 7:47 AM, Boris Kheyfets wrote: > Hello PyMOL users, > > W

Re: [PyMOL] Label on top of molecules?

2012-10-17 Thread Takanori Nakane
Hi Boris, set float_labels, on will do the job. But it doesn't seem to affect ray-traced images. Then you might want to manually adjust "label_position". See http://www.pymolwiki.org/index.php/Label_position For example, set label_position, (0, 0, 20) will bring labels 20 angstroms in front o

[PyMOL] Label on top of molecules?

2012-10-17 Thread Boris Kheyfets
Hello PyMOL users, When I print atom names with label all, name the labels are often behind the spheres (I use balls and sticks representation). I tried moving labels around, but my system is very dence -- and labels generally get under one or another sphere. Is there a way I can print labels