Hi Yamei, The cartoon_smooth_loops setting is an object-based setting, so it cannot be done as you're attempting.
You can do some finagling though to get close: # fetch a protein fetch 1rx1, async=0 # show it as cartoon as cartoon # select a region to hide select to_hide, i. 116-132 # create the smoothed_loop region from the previous selection # expanding by one residue create smoothed_loop, byres (to_hide) or (bound_to to_hide) # hide the non-smoothed loop hide everything, to_hide and 1rx1 # set smooth loops only on smoothed_loop objects set cartoon_smooth_loops, 1, smoothed_loop # adjust colors to highlight color marine, smoothed_loop color magenta, 1rx1 Cheers, -- Jason On Thu, Aug 9, 2012 at 10:32 AM, Yamei Yu <[email protected]> wrote: > Hi all, > > In pymol. does it possible to smooth some of the loops in a structure? > > I use command: > set cartoon_smooth_loop=1, 10g3a and c. L > > the software give me: > Setting: cartoon_smooth_loops set for 1640 atoms in object "10g3a". > > But there is nothing changed in the image window. > > Many thanks! > > yamei > > ------------------------------------------------------------------------------ > Live Security Virtual Conference > Exclusive live event will cover all the ways today's security and > threat landscape has changed and how IT managers can respond. Discussions > will include endpoint security, mobile security and the latest in malware > threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ > _______________________________________________ > PyMOL-users mailing list ([email protected]) > Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users > Archives: http://www.mail-archive.com/[email protected] -- Jason Vertrees, PhD PyMOL Product Manager Schrödinger, LLC (e) [email protected] (o) +1 (603) 374-7120 ------------------------------------------------------------------------------ Live Security Virtual Conference Exclusive live event will cover all the ways today's security and threat landscape has changed and how IT managers can respond. Discussions will include endpoint security, mobile security and the latest in malware threats. http://www.accelacomm.com/jaw/sfrnl04242012/114/50122263/ _______________________________________________ PyMOL-users mailing list ([email protected]) Info Page: https://lists.sourceforge.net/lists/listinfo/pymol-users Archives: http://www.mail-archive.com/[email protected]
