Hi everyone, With the applet is there a getpropertyasarray function to obtain the size of the trace, ribbons, dots, etc?
I have experimented with 'shapeInfo' but without any success. The best I can do is get "[object] [object]" or "undefined" returned to: x=jmolGetPropertyAsArray("shapeInfo") alert (x[0]) [...or other variations on this theme] I'm sure I'm doing something wrong. Any help would be appreciated. This is also undoubtedly the case in my efforts to use the getProperty function; I'm sure I must just not be constructing the code correctly. Could someone please send a code snippet (or URL) that shows exactly how this is placed into the web page code. Also, I have experimented with the "set PickDrawing" which seems to work fine when the vertices are selected, but not the line itself. Is it possible that a callback can occur when something other than a vertex is selected? Steve >****************************************** Dr. Steven R. Spilatro Chair, Department of Biology Marietta College ------------------------------------------------------------------------- This SF.net email is sponsored by: Microsoft Defy all challenges. Microsoft(R) Visual Studio 2005. http://clk.atdmt.com/MRT/go/vse0120000070mrt/direct/01/ _______________________________________________ Jmol-users mailing list Jmol-users@lists.sourceforge.net https://lists.sourceforge.net/lists/listinfo/jmol-users