Scripting/GetProperty

From Jmol
Jump to navigation Jump to search

The getProperty command

Reference documentation for getProperty

This command allows scripted retrieval of several information bits from Jmol, including the full content of the molecular model, organized by model, chain. residue and atom.

Syntax: getProperty myProperty

where myProperty is (as of Jmol 11.6.21) one of these:

property name comments value returned
appletInfo
fileName
fileHeader
fileContents <pathname>
fileContents
animationInfo
modelInfo <atom selection> default is: all atoms
shapeInfo
measurementInfo
centerInfo
orientationInfo
transformInfo
atomList <atom selection> default is: visible atoms
atomInfo <atom selection> default is: visible atoms
bondInfo <atom selection> default is: visible atoms
chainInfo <atom selection> default is: visible atoms
polymerInfo <atom selection> default is: visible atoms
moleculeInfo <atom selection> default is: visible atoms
stateInfo <state type> default is: all atoms
extractModel <atom selection> default is: visible atoms
jmolStatus statusNameList
jmolViewer
messageQueue
auxiliaryInfo <atom selection> default is all atoms
boundBoxInfo
dataInfo default is: types
image
evaluate <expression>
menu <type> default is: current menu
minimizationInfo
PointGroupInfo <atom selection> default is: visible atoms
(Expressions between angular brackets must be replaced by a valid value)

Contributors

AngelHerraez