Skip to content
Sections
Personal tools
You are here: Home » BALLView » Support » PythonScripts » Scripts » LoadPDB.py

LoadPDB.py

Document Actions
Load a PDB file and create a VDW and a line model for it.
fd = MolecularFileDialog.getInstance(0)
fd.openFile("bpti.pdb")
dp = DisplayProperties.getInstance(0)
dp.selectModel(MODEL_VDW)
dp.apply()
dp.selectModel(MODEL_LINES)
dp.apply()
 
 

Powered by Plone

This site conforms to the following standards: