Ron, CGO labels are currently insufficient and need work. Right now, the only way to access high-quality labels (using scalable TrueType fonts) is to create fake atoms and then label them.
Cheers, Warren PS. As a minor correction of fact, dashes aren't drawn with CGOs -- they're hard-coded at the C level as measurement objects. -- DeLano Scientific LLC Subscriber Support Services mailto:del...@delsci.info "Not yet a PyMOL Subscriber, but want to support the project? Email sa...@delsci.com to quote your lab, school, or employer. Thank you for sponsoring this open-source endeavor!" -WLD > -----Original Message----- > From: pymol-users-boun...@lists.sourceforge.net > [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf > Of Ron Jacak > Sent: Monday, January 22, 2007 10:42 AM > To: pymol-users@lists.sourceforge.net > Subject: [PyMOL] Labeling CGO objects > > Label gurus, > > I'm trying to label CGO objects with custom labels. I found > the previous posts that explain how to create CGO text and > then the "painful" way of reorienting the labels when the > molecule is moved using cmd.rotate and cmd.translate. I'm > curious if an easier way has been developed since the posts > in 2002. I see that the "distance" > command draws in CGO cylinders (dashes) between two atom > selections and then labels them with the distance, meaning > that it is possible in PyMOL to have labels tied to a CGO > object. I've tried to generate a selection (since cmd.label > requires a selection as the first param) from the CGO object > but I don't think it's possible and cmd.label won't take my > CGO object as the first param. > > I've succeeded in getting something close to what I want by > labeling the closest atom to my CGO object with my custom > label, and then translating the label using the mouse. But > this procedure is not possible to do in a script or plugin. > Is there a better way to label CGOs? > > Thanks for any ideas. > > -Ron > > Ron Jacak > Graduate Student > University of North Carolina - Chapel Hill > > -------------------------------------------------------------- > ----------- > Take Surveys. Earn Cash. Influence the Future of IT Join > SourceForge.net's Techsay panel and you'll get the chance to > share your opinions on IT & business topics through brief > surveys - and earn cash > http://www.techsay.com/default.php?page=join.php&p=sourceforge &CID=DEVDEV > _______________________________________________ > PyMOL-users mailing list > PyMOL-users@lists.sourceforge.net > https://lists.sourceforge.net/lists/listinfo/pymol-users