xzos/PyZDDE

Unable to open or generate footprint file analysis window

shbhuk opened this issue · 13 comments

Hi,
I am trying to generate footprints in Python and tried to use the following -

  1. zGetMetaFile - ln.zGetMetaFile('full_path+filename.wmf','Foo')
  2. ipzCaptureWindow

with the analysis code 'Foo'. Irrespective of the analysis code I enter, I always get the default output - the 2D layout. Could you please guide me as to where could the problem lie.

It returns code 0 and saves the 2D layout window as the file for option 1.

Conversely, this does work -

ln.zGetTextFile(path+'sample.txt','Foo') and succeeds in saving a txt file

Hi @shbhuk, is it ok if I take a look at it during the weekend?

Sure. I also had a problem with the zExecuteMacro, which I posted on another issue thread. Please do take a look at that too.

Hi Indranil,
Got the time?

Hi Indranil,
I understand. Take your time.

Hey,
Any luck?

I see. Is there any other way to obtain the Footprint or other Analysis windows?

Can you explain what you mean by "footprint"?
In OpticStudio 14 and above, you should be able to use the macro (zExecuteMacro()) to get analysis windows .... it is not ideal, but that's the only workaround that I could think of. I also know that you had a problem using the zExecuteMacro() function. I'll take a look at it and get back to you.

Hi,
Footprint or Spot diagram in Seq.

I tried using ExecuteMacro, but faced an error as mentioned above. Do let me know.