I just thought of something that might help...Is there a way to ask for just 
the state of an object?

Ideally for me what would be very clean would be to be able to call for a list 
of all shapes in the Jmol State and then iterate through that list asking for 
the Jmol State command(s) that create each shape.

Jonathan


On Jul 14, 2011, at 9:34 AM, Jonathan Gutow wrote:

> I think this is for Bob.
> 
> Inorder to create a ghost isosurface (or any other shape), I need to 
> duplicate the shape and change some of the rendering parameters.  The 
> cleanest way seems to be to make a copy of the command that created the 
> surface and change just the name and relevant rendering parameters.  This way 
> the new surface is added to the Jmol state in the normal way.  So, I was 
> investigating what I can get back using the viewer.getProperty() call.
> 
> I used a call like:  Object shapeInfo = viewer.getProperty("Object", 
> "ShapeInfo", null);  
> 
> I gather this is just a little more general than using calls to 
> viewer.getShapeProperty.
> 
> Anyway, my question is this.  The returned object is missing the Jmol State 
> version of the isosurface recreation command, is there another way using some 
> version of these "getProperty" calls to access this?  The "title" appears to 
> have the basic (user entered) command, but I would prefer to work with the 
> Jmol State version, because they are more complete and I believe will reduce 
> the chances of having to update my code if defaults or parameters change.
> 
> Thanks,
> Jonathan
> 
>                         Dr. Jonathan H. Gutow
> Chemistry Department                                gu...@uwosh.edu
> UW-Oshkosh                                          Office: 920-424-1326
> 800 Algoma Boulevard                                FAX:920-424-2042
> Oshkosh, WI 54901
>                http://www.uwosh.edu/facstaff/gutow
> 
> 
> ------------------------------------------------------------------------------
> AppSumo Presents a FREE Video for the SourceForge Community by Eric 
> Ries, the creator of the Lean Startup Methodology on "Lean Startup 
> Secrets Revealed." This video shows you how to validate your ideas, 
> optimize your ideas and identify your business strategy.
> http://p.sf.net/sfu/appsumosfdev2dev
> _______________________________________________
> Jmol-developers mailing list
> Jmol-developers@lists.sourceforge.net
> https://lists.sourceforge.net/lists/listinfo/jmol-developers

                         Dr. Jonathan H. Gutow
Chemistry Department                                gu...@uwosh.edu
UW-Oshkosh                                          Office: 920-424-1326
800 Algoma Boulevard                                FAX:920-424-2042
Oshkosh, WI 54901
                http://www.uwosh.edu/facstaff/gutow


------------------------------------------------------------------------------
AppSumo Presents a FREE Video for the SourceForge Community by Eric 
Ries, the creator of the Lean Startup Methodology on "Lean Startup 
Secrets Revealed." This video shows you how to validate your ideas, 
optimize your ideas and identify your business strategy.
http://p.sf.net/sfu/appsumosfdev2dev
_______________________________________________
Jmol-developers mailing list
Jmol-developers@lists.sourceforge.net
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to