as
Set a single representation for a molecular selection, hiding all others, to focus the view on cartoon, sticks, spheres, or surface.
Instructions
Shows one representation while hiding all others for the specified selection
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| selection | No | PyMOL selection string, e.g. "1abc and chain A". See the module note for syntax. | all |
| representation | Yes | The one representation to leave visible: ``cartoon``, ``sticks``, ``spheres``, ``surface``, ``lines``, ``ribbon``, ``dots``, ``mesh``. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |