Talk:Line width: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
No edit summary
Line 6: Line 6:


[[User:Inchoate|Tree]] 18:56, 6 July 2009 (UTC)
[[User:Inchoate|Tree]] 18:56, 6 July 2009 (UTC)
'''Update'''
You can do this in PyMOL.  Do
<source lang="python">
set_bond line_width, 5, i. 1-10
</source>
The line that connects two atoms in PyMOL is bond, so use set bond.

Revision as of 14:49, 6 July 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.