Bradley,

set dash_gap, 0, distName

where distName is the name of the distance object from the distance command.

Cheers,

-- Jason

On Thu, Jul 22, 2010 at 2:02 PM, Bradley Hintze
<bradle...@aggiemail.usu.edu> wrote:
> I have measurements in my figure so set dash_gap, 0 is not desirable
> (unless i can specify a particular object??)
> I tried looking at CGO but all I can find on the wiki is how to draw
> text and circles. Is there a page I'm not seeing that explaining
> cmd.load_cgo in detail??
>
> On Thu, Jul 22, 2010 at 12:22 PM, Jason Vertrees
> <jason.vertr...@schrodinger.com> wrote:
>> Bradley,
>>
>> The fastest way is to create two pseudoatoms and measure the distance
>> between them.  For an arrow, see Modevectors
>> (http://www.pymolwiki.org/index.php/Modevectors).
>>
>> pseudoatom pt1, pos=[x1, y1, z1]
>> pseudoatom pt2, pos=[x2, y2, z2]
>> distance /pt1, /pt2
>> set dash_gap, 0
>>
>> You can also create CGO lines between two points, if you want.
>>
>> Cheers,
>>
>> -- Jason
>>
>> On Thu, Jul 22, 2010 at 11:58 AM, Bradley Hintze
>> <bradle...@aggiemail.usu.edu> wrote:
>>> Hi all,
>>>
>>> Can I draw a vector if I give two XYZ coords in pymol?
>>>
>>> e.g.
>>> draw_vector(x1, y1, z1, x2, y2, z2)
>>>
>>> Thanks,
>>> Bradley
>>>
>>> --
>>> Bradley J. Hintze
>>> Graduate Student
>>> Duke University
>>> School of Medicine
>>> 801-712-8799
>>>
>>> ------------------------------------------------------------------------------
>>> This SF.net email is sponsored by Sprint
>>> What will you do first with EVO, the first 4G phone?
>>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>>> _______________________________________________
>>> 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
>>>
>>
>>
>>
>> --
>> Jason Vertrees, PhD
>> PyMOL Product Manager
>> Schrodinger, LLC
>>
>> (e) jason.vertr...@schrodinger.com
>> (o) +1 (603) 374-7120
>>
>> ------------------------------------------------------------------------------
>> This SF.net email is sponsored by Sprint
>> What will you do first with EVO, the first 4G phone?
>> Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
>> _______________________________________________
>> 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
>>
>
>
>
> --
> Bradley J. Hintze
> Graduate Student
> Duke University
> School of Medicine
> 801-712-8799
>



-- 
Jason Vertrees, PhD
PyMOL Product Manager
Schrodinger, LLC

(e) jason.vertr...@schrodinger.com
(o) +1 (603) 374-7120

------------------------------------------------------------------------------
This SF.net email is sponsored by Sprint
What will you do first with EVO, the first 4G phone?
Visit sprint.com/first -- http://p.sf.net/sfu/sprint-com-first
_______________________________________________
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