Sean,
Please see the examples/devel/cgo08.py demonstration script: http://pymol.svn.sourceforge.net/viewvc/pymol/trunk/pymol/examples/devel /cgo08.py?view=markup Cheers, Warren ________________________________ From: Sean Law [mailto:[email protected]] Sent: Wednesday, April 08, 2009 6:53 AM To: [email protected] Subject: [PyMOL] CGO Cones Hi, I noticed that version 1.1 is said to have "Cone representation available as cgo" so I downloaded the windows binary and tested it out but I haven't been able to get it to work. Any clarification on how to get this to work would be greatly appreciated. A sample code is written below. Sean ############################## from pymol.cgo import * # get constants from math import * from pymol import cmd def cone() cone=[CONE, 0.0, 0.0, 0.0, 5.0, 5.0, 5.0 , 5.0, 1.0, 1.0, 1.0] cmd.load_cgo(cone,'cone') return cmd.extend("cone",cone) ________________________________ Internet Explorer 8 makes surfing easier. Get it now! <http://go.microsoft.com/?linkid=9655265>
