cancel
Showing results for 
Show  only  | Search instead for 
Did you mean: 

Cannot open Drawing via API in HOPEX

alros
Super Contributor

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?

1 Reply

alros
Super Contributor

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.