[PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Harry Jubb
Hi Everyone, I'd like to ask for some help with dash/distance objects. I have PyMOL session files which show inter-molecular interactions using PyMOL distance objects. These were created using a script which colours each distance object and merges them according to type of interaction. The

Re: [PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Michael Lerner
Hi Harry, If they've been combined using the group command, you can ungroup them: fetch 1rx1 # make some distance objects dist measure01, 19/C, 20/C dist measure02, 20/C, 21/C dist measure03, 158/C, 159/C dist measure04, 157/C, 159/C # group them group g1, measure01 or measure02 group g2,

Re: [PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Hongbo Zhu
Hi, Harry, I am curious. How do you merge objects resulting from distance ? Do you mean to group them? If so, you can use ungroup command to, well, ungroup them. But if the merged object is generated using a CGO, I doubt you can unmerge the CGO object. But I don't know dash CGOs, either.

Re: [PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Michael Lerner
Hi Harry, As far as I know, this is not currently possible in PyMOL, but perhaps someone will correct me on this. -Michael On Tue, Apr 26, 2011 at 9:27 AM, Harry Jubb hj...@cam.ac.uk wrote: Hi Michael, Thank you for your response. The problem is that for types of inter-molecular

Re: [PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Jason Vertrees
Hi Harry, For measures (distances, angles, dihedrals), PyMOL can color down to the level of an object (eg. color blue, measure01). So, once you add another measure into an extant object, PyMOL cannot separate those two colors. My suggestion is that you measure into new objects if you need new

Re: [PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Harry Jubb
Hi Michael, Thank you for your response. The problem is that for types of inter-molecular interaction all of the visual distances are merged into one object in the sidebar (as if created using the measurement wizard with the merge with previous option on), for which unfortunately the ungroup

Re: [PyMOL] Hiding individual dash/distance objects within a merged-dash object

2011-04-26 Thread Harry Jubb
Hi Jason, Thanks for your response. The colouring is all correct as there is an object for each interaction type, the problem now is splitting the measures back into single objects, which Dr Lerner has mentioned is not currently possible. If this is the case I will try to refine my figures