[EMAIL PROTECTED] wrote:

Model model = viewer.getModel()
model.getAtomsBondedTo(i)

Right now it's in Viewer as:

public Object getProperty(String returnType, String infoType, String paramInfo) {
   return propertyManager.getProperty(returnType, infoType, paramInfo);
 }

returnType is one of

"String"
"JSON"
"Object"

You want "Object" (really anything other than "String" or "JSON").
I don't have documentation for this yet.

but I can't pick my way through the API and source
code to see how to do this.

Thanks,


Dave



-------------------------------------------------------
This SF.Net email is sponsored by xPML, a groundbreaking scripting language
that extends applications into web and mobile media. Attend the live webcast
and join the prime developer group breaking into this new coding territory!
http://sel.as-us.falkag.net/sel?cmd=lnk&kid=110944&bid=241720&dat=121642
_______________________________________________
Jmol-developers mailing list
[email protected]
https://lists.sourceforge.net/lists/listinfo/jmol-developers

Reply via email to