Difference between revisions of "Talk:Line width"

From PyMOLWiki
Jump to navigation Jump to search
Line 15: Line 15:
  
 
The line that connects two atoms in PyMOL is bond, so use set bond.
 
The line that connects two atoms in PyMOL is bond, so use set bond.
 +
 +
 +
---
 +
what version of PyMol allows the functionality of set_bond?  I have 0.99rc6 and when I run your examples using set_bond and variants of them I receive either "SyntaxError: invalid syntax" or "NameError: name 'set_bond' is not defined."

Revision as of 14:01, 6 August 2009

I was wondering if it's possible to change the line_width for a selection. Say I want to have two line representations, one with most of a molecule at line_width,2 and a selection at 4, say. Doing the same with a sticks representation would be fine too if that's easier.

As of this writing, I can set different line_width values to different objects/selection, but it doesn't seem to make a difference.

Will update soon.

Tree 18:56, 6 July 2009 (UTC)

Update

You can do this in PyMOL. Do

set_bond line_width, 5, i. 1-10

The line that connects two atoms in PyMOL is bond, so use set bond.


--- what version of PyMol allows the functionality of set_bond? I have 0.99rc6 and when I run your examples using set_bond and variants of them I receive either "SyntaxError: invalid syntax" or "NameError: name 'set_bond' is not defined."