There may be a better way of doing this, but I would put the "hide
all" and "show spheres" commands you mention in a script file and call
it after loading the structure.

Vitaly



On Tue, Feb 15, 2011 at 21:29, John Russo <lamaro...@gmail.com> wrote:
> Hi to all,
> I have a simple question but I've googled extensively
> on this and coudn't find a solution (I'm a pymol newbie).
>
> I would like to launch pymol from the command line:
>
> pymol my_file.xyz
>
> and I would like it to show the particles just as spheres
> (which is enough for most colloidal physics images!).
>
> I've tried with this simple .pymolrc
>
> set orthoscopic, 1
> set sphere_scale,0.3
> hide all
> show spheres
>
> But the commands get executed before the particles get loaded.
> I've tried putting a time.sleep(5) but that doesn't make any difference
> (the whole window just appears 5 seconds later).
>
> Any hints?
>
> Thanks!
>
> ------------------------------------------------------------------------------
> The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
> Pinpoint memory and threading errors before they happen.
> Find and fix more than 250 security defects in the development cycle.
> Locate bottlenecks in serial and parallel code that limit performance.
> http://p.sf.net/sfu/intel-dev2devfeb
> _______________________________________________
> 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
>

------------------------------------------------------------------------------
The ultimate all-in-one performance toolkit: Intel(R) Parallel Studio XE:
Pinpoint memory and threading errors before they happen.
Find and fix more than 250 security defects in the development cycle.
Locate bottlenecks in serial and parallel code that limit performance.
http://p.sf.net/sfu/intel-dev2devfeb
_______________________________________________
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

Reply via email to