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
m (1 revision)
 
(7 intermediate revisions by 2 users not shown)
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 ==
Line 21: Line 21:
 
The following objects are not or only partly supported:
 
The following objects are not or only partly supported:
  
* scenes before 1.7.6
+
* scenes before 1.7.6 (support added in 1.8.4)
 
* volumes before 1.7.2
 
* volumes before 1.7.2
 
* ramps
 
* ramps

Latest revision as of 00:07, 17 October 2016

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 (support added in 1.8.4)
  • volumes before 1.7.2
  • ramps
  • CGOs

See Also