> re my use of 'global scripts' > > After using 'set perspectiveDepth off' within a script to > allow increased zoom for a view which I needed. I was > surprised when the other scripts I am developing did not then > give the zoom they had been written to give.
They are zooming to the same level for the atoms at the front ... but the perspective depth function makes the atoms at the back get smaller and closer together. > The other set commands I have used (set axes, set labeloffset, > set bondmode etc.) only make changes within the script which > contains them, they do not affect other scripts. I am simply > at the stage of developing the scripts, > and so am not looking at them in applets yet. There are some settings which are global to the applet and not specific to the. These settings do not get reset when a new molecule is loaded. perspectiveDepth is one of them. color palette selection is another. Miguel ----- Open Source Molecular Visualization www.jmol.org [EMAIL PROTECTED] ----- ------------------------------------------------------- SF.Net email is sponsored by: Tame your development challenges with Apache's Geronimo App Server. Download it for free - -and be entered to win a 42" plasma tv or your very own Sony(tm)PSP. Click here to play: http://sourceforge.net/geronimo.php _______________________________________________ Jmol-users mailing list [email protected] https://lists.sourceforge.net/lists/listinfo/jmol-users

