Re: [PyMOL] load cgo into existing pymol session

2008-02-22 Thread Tsjerk Wassenaar
Hi Hari, You can do it using: execfile(/Users/hari/Desktop/test.cgo) cmd.load_cgo(obj,test) However, you might find it more convenient to drop the obj = from the .cgo file and load the thing with: cmd.load_cgo( eval( open(/Users/hari/Desktop/test.cgo).read() ), test ) Although that seems a

Re: [PyMOL] load cgo into existing pymol session

2008-02-22 Thread hari jayaram
Thanks a lot Tsjerk for your help. I am using MacPymol 0.99rc6 . Both versions of the solution you presented worked. The only thing I had to do was to run on the command line prompt inside pymol. from pymol.cgo import * Then I could run either version you suggested to get the axes to show up (

[PyMOL] load cgo into existing pymol session

2008-02-21 Thread hari jayaram
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