In this example, we had one capella element, printed it, then, called it’s java object, printed it again, and finally got the attribute name.
My question is: is there anyway to obtain the capella element from the java object?
Something like “get_Capella_Element()” its parameter is the red cercled element (java object) from the screen shot and the result would be the brown cercled element (a capella element).
Based on indication from java object, a wrapping python object is created.
This wrapping object is only a convenient proxy to simplify Java API.
Currently, each time a list is provided, a set of proxy is created.
Each proxy implement ‘equals’ method, so using any them is most of the time equivalent (unless using strict identity which most programs does not need).
Yes I see, will keep this in mind. Maybe I could read it again when i got the gist of it.
This one quite useful aswell. Anyway this prevented me from creating a great number of tables to save informations, now I can get the python object, apply to it documented ad known functions and then obtain back the java object again.
I am aware that python objects methods use java objects methods, but still, it’s very useful to be able to obtain the python object. Thanks a lot