How to change ActiveDocument to another document in Gallery?

In this subforum specific Topics concerning ZEN Core, e.g workbenches, are discussed
Post Reply
Tobias Volkenandt
Posts: 1
Joined: Fri Mar 05, 2021 1:59 pm

How to change ActiveDocument to another document in Gallery?

Post by Tobias Volkenandt »

Hi,

I would like to understand how I can set ActiveDocument to another opened file (e.g. image or table) in the Gallery?

My goal is to pull information from different tables coming out of an ImageAnalysis and do some automated calculations.

Thanks for your help!
CarlZeissMicroscopy3
Posts: 180
Joined: Wed May 20, 2020 10:10 am

Re: How to change ActiveDocument to another document in Gallery?

Post by CarlZeissMicroscopy3 »

how I can set ActiveDocument to another opened file in the Gallery?
From my understanding this is not possible in Zen Core.

Zen Core is mainly workflow driven and output/input can be set to transfer information from one step to another.

Here are some commands that are used in this context:

Zen.Application.ActiveWorkbench.SetOutputValue()
Zen.Application.GetOutputParameterValue()

Zen.Application.ActiveWorkbench.SetDefaultOutputValue()
Zen.Application.ActiveWorkbench.GetDefaultInputValue()

Zen.Application.GetAllOutputParameters()


I hope this helps.
Post Reply