Hi Amir - 

It looks like you're overwriting obj1 with obj2.  Try giving them different 
names, e.g. "segment1" and "segment2" and you should be able to display both 
objects.

Hope that helps.

Cheers,
Jared


On May 24, 2018 at 5:10:59 PM, Amir Hossein Sharifzadeh 
(amirsharifza...@gmail.com) wrote:

Hello,
I am not able to load two objects together in pymol. But I can either load obj1 
or obj2.
Both obj1 and obj2 are 3D geometry shapes, each shape contains several 
trainguels.
cmd.load_cgo(obj1, 'segment', 0)
cmd.load_cgo(obj2, 'segment', 0)
Any suggestions?
Thank you.
Amir

------------------------------------------------------------------------------  
Check out the vibrant tech community on one of the world's most  
engaging tech sites, Slashdot.org! 
http://sdm.link/slashdot_______________________________________________  
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
------------------------------------------------------------------------------
Check out the vibrant tech community on one of the world's most
engaging tech sites, Slashdot.org! http://sdm.link/slashdot
_______________________________________________
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