label selection, model+"-"+resn+resi
_____ From: pymol-users-boun...@lists.sourceforge.net [mailto:pymol-users-boun...@lists.sourceforge.net] On Behalf Of Rafael Najmanovich Sent: Tuesday, December 19, 2006 3:04 AM To: pymol-users@lists.sourceforge.net Subject: [PyMOL] cmd.label, custom labels, script Hi There, Is there a way to display custom labels from within scripts? I need to display labels which include the object-name - this is not possible using cmd.label it seems. I can define a string as: lab = "%s-%s%s" % (objn,resn,resi) where objn is a variable that contains the object-name. I'd like to display this string and I ask if there is some way to display these strings in the same way/position as cmd.label normally would. Thanks for your help. r. Dr. Rafael Najmanovich European Bioinformatics Institute Wellcome Trust Genome Campus Cambridge CB10 1SD United Kingdom rafael.najmanovich at ebi.ac.uk - www.ebi.ac.uk/~rafi +44-1223-492599 (voice) +44-7786-968257(mobile) +44-1223-494468 (fax)