[PyMOL] set_view based on origin and a vector

2022-03-25 Thread Wei Wang
Dear PyMOL community, I have a need to adjust my view point in python script. I want to achieve the following: 1. I have a origin with coordinates [ 0.4017522 23.15367207 6.68992345] 2. I have a vector/rotation axis [0.74, 0.18, -0.65] 3. I want to look directly down that vector using above orig

[PyMOL] recognizing LINK record in pdb

2018-06-29 Thread Wei Wang
Hello, When I load local pdb files with metal LINK records, e.g. magnesium ion and surrounding waters, I couldn't get the dash line to show up with sticks+spheres representation. I think there should be a setting to turn the dash lines on, because when fetching pdb from server the dash lines are t