## [PyMOL] RE:

 [PyMOL] RE: From: Warren L. DeLano - 2003-09-22 22:06:31 ```> One quick question... how do I tell PyMOL to draw a cylinder (or bond) > of a given radius between two positions X,Y,Z and X', Y',Z'? (From Python...) from pymol.cgo import * from pymol import cmd obj = [] obj.extend( [ CUSTOM_CYLINDER, 1.0, 2.0, 3.0, # XYZ 1 4.0, 5.0, 6.0, # XYZ 2 2.0, # Radius 1.0, 1.0, 1.0, # RGB Color 1 1.0, 1.0, 1.0, # RGB Color 2 1, 1, # End caps (0=none, 1=flat, 2=round) ] ) cmd.load_cgo(obj,'my_cgo') Cheers, Warren -- mailto:warren@... Warren L. DeLano, Ph.D. Principal Scientist DeLano Scientific LLC Voice (650)-346-1154 Fax (650)-593-4020 ```

 [PyMOL] RE: From: Warren L. DeLano - 2003-09-22 22:06:31 ```> One quick question... how do I tell PyMOL to draw a cylinder (or bond) > of a given radius between two positions X,Y,Z and X', Y',Z'? (From Python...) from pymol.cgo import * from pymol import cmd obj = [] obj.extend( [ CUSTOM_CYLINDER, 1.0, 2.0, 3.0, # XYZ 1 4.0, 5.0, 6.0, # XYZ 2 2.0, # Radius 1.0, 1.0, 1.0, # RGB Color 1 1.0, 1.0, 1.0, # RGB Color 2 1, 1, # End caps (0=none, 1=flat, 2=round) ] ) cmd.load_cgo(obj,'my_cgo') Cheers, Warren -- mailto:warren@... Warren L. DeLano, Ph.D. Principal Scientist DeLano Scientific LLC Voice (650)-346-1154 Fax (650)-593-4020 ```

JavaScript is required for this form.

No, thanks