I am sorry. I am wrong. I should have tested by suggestion. 
 Irregardless of the selection that I specify, the entire chain is changed.
I would go with your plan B and create a new object for the selection.

create test, resi 100:150
preset.b_factor_putty("test")

The above worked with pdb file 4dgr.

Best regards,

Blaine

Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medicine
University of Oklahoma Health Sciences Center
S.L. Young Biomedical Research Center (BRC) Rm. 466
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419

________________________________________
From: Mooers, Blaine H.M.  (HSC) [blaine-moo...@ouhsc.edu]
Sent: Tuesday, October 27, 2020 4:54 AM
To: sunyeping; pymol-users
Subject: Re: [PyMOL] [EXTERNAL]  present b factor putty on select

Hi sunyeping,

You are right; there is a way via the command line:

preset.b_factor_putty(selection='all')

Replace "all" with your selection.

Best regards,

Blaine

Blaine Mooers, Ph.D.
Associate Professor
Department of Biochemistry and Molecular Biology
College of Medicine
University of Oklahoma Health Sciences Center
S.L. Young Biomedical Research Center (BRC) Rm. 466
975 NE 10th Street, BRC 466
Oklahoma City, OK 73104-5419

________________________________________
From: sunyeping via PyMOL-users [pymol-users@lists.sourceforge.net]
Sent: Tuesday, October 27, 2020 3:09 AM
To: pymol-users
Subject: [EXTERNAL] [PyMOL] present b factor putty on select

Dear all,

I know that if you want to visualize b facotor of a objector in pymol, you can 
use A>Present>b factor putty. However, how can show the b factor putty on a 
certain selection of the object? Is there any command line to do this or do I 
have to create a new object for the selection and still use the A>Present>b 
factor putty operation?

Thank you,
Best regards


_______________________________________________
PyMOL-users mailing list
Archives: 
https://urldefense.proofpoint.com/v2/url?u=http-3A__www.mail-2Darchive.com_pymol-2Dusers-40lists.sourceforge.net&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=BSbjOkK0hwBIwGPqAfzg6VuZ4G17ti5wnwV6_wT6joo&s=VChEP3IpjfnXt-V_J6Qsm9wC5UhAp9DCoyG_LAe27mk&e=
Unsubscribe: 
https://urldefense.proofpoint.com/v2/url?u=https-3A__sourceforge.net_projects_pymol_lists_pymol-2Dusers_unsubscribe&d=DwICAg&c=VjzId-SM5S6aVB_cCGQ0d3uo9UfKByQ3sI6Audoy6dY&r=k0gMbcsdOcdbPUNV5tW66KQSZfXL0ewVDPVBp7tqbks&m=BSbjOkK0hwBIwGPqAfzg6VuZ4G17ti5wnwV6_wT6joo&s=I2LMOwDlZ919wGi3qMAnmKsEVsG6EONWcopsF6jsK4w&e=


_______________________________________________
PyMOL-users mailing list
Archives: http://www.mail-archive.com/pymol-users@lists.sourceforge.net
Unsubscribe: 
https://sourceforge.net/projects/pymol/lists/pymol-users/unsubscribe

Reply via email to