Dear Jmol users/developers,
I would like to be able to use a variable in a call to getProperty.
So far, the following command works.
$ print getproperty('modelInfo.models[7].modelProperties.FreqValue')
129.529358
But I rwould like to use a variable as follows
$ i=7
$ print getproperty('modelInfo.models[i].modelProperties.FreqValue')
But this doesn't work. I also tried to use @{i}, with no success as
well. I'm not comfortable with dereferencing a variable in Jmol.
The reason for trying to do so us that I'ld like to iterate through the
frames and use the variable i hold the index of the frame.
I thank you in advance for your help.
Best regards,
Max
------------------------------------------------------------------------------
Attend Shape: An AT&T Tech Expo July 15-16. Meet us at AT&T Park in San
Francisco, CA to explore cutting-edge tech and listen to tech luminaries
present their vision of the future. This family event has something for
everyone, including kids. Get more information and register today.
http://sdm.link/attshape
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users