Get Pdbstr: Difference between revisions

From PyMOLWiki
Jump to navigation Jump to search
No edit summary
 
Line 1: Line 1:
===DESCRIPTION===
===DESCRIPTION===
   "get_pdbstr" in an API-only function which returns a pdb
   "get_pdbstr" is an API-only function which returns a pdb
   corresponding to the atoms in the selection provided and that are
   corresponding to the atoms in the selection provided and that are
   present in the indicated state
   present in the indicated state
 
===PYMOL API ONLY===
===PYMOL API ONLY===
   
   

Revision as of 08:31, 11 April 2005

DESCRIPTION

  "get_pdbstr" is an API-only function which returns a pdb
  corresponding to the atoms in the selection provided and that are
  present in the indicated state

PYMOL API ONLY

  cmd.get_pdbstr( string selection="all", int state=0 )

NOTES

   "state" is a 1-based state index for the object.

  if state is zero, then current state is used.