Hi I have a running pymol session with nothing loaded. I now want to load a
cgo object into this session. When I read in the cgo file using either
command line (load /Users/hari/Desktop/test.cgo  , test ) or the GUI menu ,
I get an object entry on the side panel but nothing shows up in the viewing
window.

I can successfully load any cgo file using  a python script .  I want to
learn how to "inject" a cgo object like the one given below into a running
python session .
Can someone tell me how to do this.

Your help is greatly appreciated
Thank You
Hari Jayaram
Brandeis University

#Contents of test.cgo file

obj = [

   BEGIN, LINES,

   COLOR, 1.0, 1.0, 1.0,


   VERTEX, 0.0, 0.0, 0.0,

   VERTEX, 1.0, 0.0, 0.0,


   VERTEX, 0.0, 0.0, 0.0,

   VERTEX, 0.0, 2.0, 0.0,


   VERTEX, 0.0, 0.0, 0.0,

   VERTEX, 00, 0.0, 3.0,


   END]

Reply via email to