Angel Herraez wrote:
>Hi Tim
>
>
>
>>I would like to display pdb file name and frame number using an echo
>>command. is there a way to access this info, akin to displaying
>>residue names, etc.?
>>
>>
>
>I think at least filename can be retrieved using getProperty, but would have
>to look it up. (no time now)
>
>
>
getProperty filename only retreives the most recently loaded file name,
I think.
>
>
>
>>alternatively, I know this info before writing my script - is there a
>>way to link an echo command to a particular frame? in other words,
>>have the echo display only when that frame is visible?
>>
>>
>
>No idea if such association can be done, but I thought it **might** work
>using atom-based echo:
> set echo myEcho (model=2)
>
>but this "set echo" is not working even for a single file, single frame (Am I
>doing it OK, Bob?):
> set echo myEcho (atomno=2)
>
>
>
You have to use braces now in that command:
set echo myEcho {model=2}
but all that does is place the echo at the center of model 2, it doesn't
associate
it with model 2. Echos are not associated with individual frames.
I'll look into also having filename and title information. I think some of that
never
made it into the multiple-file aspect.
bob
>It does not work, and I get error:
>script ERROR: an integer number was expected
> set echo myecho >> ( << atomno = 2 )
>(using 11.1.29)
>
>
>
>-------------------------------------------------------------------------
>This SF.net email is sponsored by DB2 Express
>Download DB2 Express C - the FREE version of DB2 express and take
>control of your XML. No limits. Just data. Click to get it now.
>http://sourceforge.net/powerbar/db2/
>_______________________________________________
>Jmol-users mailing list
>[email protected]
>https://lists.sourceforge.net/lists/listinfo/jmol-users
>
>
-------------------------------------------------------------------------
This SF.net email is sponsored by DB2 Express
Download DB2 Express C - the FREE version of DB2 express and take
control of your XML. No limits. Just data. Click to get it now.
http://sourceforge.net/powerbar/db2/
_______________________________________________
Jmol-users mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-users