Jmol/Useful one-liners: Difference between revisions

From Proteopedia
Jump to navigationJump to search
Karsten Theis (talk | contribs)
Karsten Theis (talk | contribs)
No edit summary
Line 41: Line 41:
<jmol><jmolButton><text>display %B</text><script>hide hidden and not *%B</script></jmolButton></jmol>
<jmol><jmolButton><text>display %B</text><script>hide hidden and not *%B</script></jmolButton></jmol>


define aoi selected
Defines the currently selected atoms as "aoi". You can use this later in commands such as "select aoi" to select the atoms again.
view1 = script("show moveto")
Saves the current orientation in the variable "view1". Later, you can go back to this view using:
script inline @view1
</StructureSection>
</StructureSection>