Hi Taylor,Yes, there is a way to programmatically group things in the model panel. It’s ModelPanel.groupCmd(items, name=None). The items can be models and/or groups. It returns the new group formed. You should probably provide the ‘name’ argument, since otherwise it’s possible the user would be prompted for the name. If there’s no particularly obvious name for you to use, you can use ModelPanel.defaultGroupName(items) to generate one.—EricEric PettersenUCSF Computer Graphics LabOn May 19, 2016, at 5:51 PM, Taylor Gerpheide <tgerp001@odu.edu> wrote:_______________________________________________I'm working on an extension which needs to be able to group certain open models like the model panel does. Is there a way to utilize the group function in the model panel from an extension in python?Thank you,Taylor
Chimera-dev mailing list
Chimera-dev@cgl.ucsf.edu
http://plato.cgl.ucsf.edu/mailman/listinfo/chimera-dev