This is a read-only mirror of pymolwiki.org

Difference between revisions of "Pse export version"

From PyMOL Wiki
Jump to navigation Jump to search
Line 7: Line 7:
 
== Examples ==
 
== Examples ==
  
<source lang="python">
+
<syntaxhighlight lang="python">
 
# current version (default)
 
# current version (default)
 
set pse_export_version, 0
 
set pse_export_version, 0
Line 15: Line 15:
 
set pse_export_version, 1.74
 
set pse_export_version, 1.74
 
save 174compat.pse
 
save 174compat.pse
</source>
+
</syntaxhighlight>
  
 
== Known Limitations ==
 
== Known Limitations ==

Revision as of 20:16, 23 April 2015

The pse_export_version setting switches to a legacy format when saving PSEs, so far possible. The value is the floating point number representation of the targeted legacy PyMOL version, for example 1.74 to save a session for PyMOL 1.7.4.

New in PyMOL 1.7.6

Session file loading is always backwards compatible, so any newer version of PyMOL can load old session files.

Examples

# current version (default)
set pse_export_version, 0
save current.pse

# compatible with PyMOL 1.7.4
set pse_export_version, 1.74
save 174compat.pse

Known Limitations

The following objects are not or only partly supported:

  • scenes before 1.7.6
  • volumes before 1.7.2
  • ramps
  • CGOs

See Also