Christian,

> I want label a few distances independently with my own labels. I set a label
> in the form
> label  /wt//A/THR`254/CA, "10.0"+ u"\u00c5".encode('utf-8')
> which I can move independently using the set label positio command.
> If I incorporate a second label and try to change the position with the set
> label command both labels ar affected.
> With mouse clicks one could independently move every label. So I guess somehow
> this must be possible using a script. So far I could not find something useful
> for me in the Wiki.
> Could anyone help me out here with the correct command or syntax for such
> positionings.

Currently this it is only possible using the mouse. Please file and
RFE (http://sourceforge.net/tracker/?group_id=4546&atid=354546) and
we'll get to it. Labels should be capable of being programmatically
repositioned. Here's how I see it happening:

# for the selected atom(s) set their label offsets:

set label_position, [ -0.5, 1.2, -0.5 ], (sele)


Cheers,

-- Jason

-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
Keep Your Developer Skills Current with LearnDevNow!
The most comprehensive online learning library for Microsoft developers
is just $99.99! Visual Studio, SharePoint, SQL - plus HTML5, CSS3, MVC3,
Metro Style Apps, more. Free future releases when you subscribe now!
http://p.sf.net/sfu/learndevnow-d2d
_______________________________________________
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