The value of Zen.Application.Documents.Count is always 0 in ZEN Core.
After opened several images, when I run the following code
Code: Select all
i = Zen.Application.Documents.Count
image = Zen.Applicaiton.Activeworkbench.GetDefaultInputValue()
print(image.FileName)
print(i)