26-05-2015 10:26 AM - edited 26-05-2015 10:27 AM
In MEGA 2009 SP5 we opened a Drawing using the Java API in this way:
MegaDrawing drawing = (MegaDrawing) megaObject.callFunction("Drawing", "RO");
However, the same code returns null (drawing == null) when run under HOPEX V1R2. The documentation still says, that you must open a drawing in VB using
megaObject.Drawing("RO")
What is the proper way to open a drawing in HOPEX V1R2?
28-05-2015 10:24 AM
This might be caused by the same issue as in this question, since we try to open the drawing after the initial MetaCommand Macro is done.