Fetch: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
Line 9: Line 9:
=== Example ===
=== Example ===
<source lang="python">
<source lang="python">
# fetch them singly
fetch 1kao
fetch 1kao
fetch 1ctq
fetch 1ctq
# fetch them at once
fetch 1kao 1ctq
# fetch them at once synchronously
fetch 1kao 1ctq, async=0
</source>
</source>

Revision as of 12:43, 23 February 2007

Overview

Fetch retrieves a protein structure from the PDB and loads it into PyMOL.

Syntax

fetch PDB_ID [, ID2...N ] [, async = [0,1] ]

Example

# fetch them singly
fetch 1kao
fetch 1ctq

# fetch them at once
fetch 1kao 1ctq

# fetch them at once synchronously
fetch 1kao 1ctq, async=0