Jump to content

Cartoon transparency

From PyMOL Wiki

Overview

[edit]

This setting changes the transparency of the cartoon representation.

As of PyMOL version 2.3, cartoon transparency is now an atom-level setting. This allows for a cartoon selection to be transparent without creating an additional object.

Syntax

[edit]
set cartoon_transparency, 0.5, <object>  # 50% transparent, the object name is optional
set cartoon_transparency, 0.5, <sele>  # 50% transparent, sele: the selection name

Valid values range from 0.0 (fully opaque) - 1.0 (fully transparent)

Examples

[edit]

See Also

[edit]

cartoon