Hi,

I'm trying to draw arrows in Pymol 1.7.2 for mac, "à la http://www.pymolwiki.org/index.php/Axes "

When I run the script for the Axes_with_nice_cones, I have the error message: File "/Applications/MacPyMOL.app/pymol/modules/pymol/parser.py", line 464, in parse
    exec(layer.com2+"\n",self.pymol_names,self.pymol_names)
  File "<string>", line 1
CONE, 0.0, 0.0, l, 0.0, 0.0, h+l, d, 0.0, 0.0, 0.0, 1.0, 0.0, 0.0, 1.0, 1.0, 1.0]
^
SyntaxError: invalid syntax


As a workaround, I tried to use the cylinder syntax (bellow, by replacing CYLINDER by CONE), pymol loads the object but doesn't draw anything. cmd.load_cgo( [ CONE, x0, y0, z0, x1, y1, z1, radius, r1, g1, b1, r1, g1, b1 ], "cone_a" )


Can someone tell me what is going on and how I can draw a cgo CONE in pymol? It looks very nice.

Thank you
Vincent




--

Vincent Chaptal, PhD

Institut de Biologie et Chimie des Protéines

Drug-resistance modulation and mechanism Laboratory

7 passage du Vercors

69007 LYON

FRANCE

+33 4 37 65 29 01

http://www.ibcp.fr


------------------------------------------------------------------------------
Slashdot TV.  
Video for Nerds.  Stuff that matters.
http://tv.slashdot.org/
_______________________________________________
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