From: Sebastien M. <seb...@ig...> - 2005-10-20 06:43:02
|
> PyExperts: >=20 > When inside PyMOL, how do I find out the value of a variable without=20 > using 'set'? >=20 > For example, I can type: > set specular, 1 > and then I know, specular =3D 1. >=20 > But how do I find out specular's (or ANY variable's) value without=20 > changing it? >=20 > Thanks, >=20 > Olivier Hello Olivier, For PyMOL variables, defined with set variable_name,variable_value , you can get it with get variable_name For other variables (Python variables), defined like it: variable_name=3Dvariable_value you can get it with print variable_name or use it simply with variable_name I hope this will help you. --=20 S=E9bastien Moretti http://www.igs.cnrs-mrs.fr/ CNRS - IGS 31 chemin Joseph Aiguier 13402 Marseille cedex |