John_R_Ellis's profile
Champion

Champion

 • 

6K Messages

 • 

103.7K Points

Tue, Dec 31, 2019 4:33 AM

Closed

Answered

Lightroom SDK: catalog:findPhotos() criterion "depthMap" doesn't work

The boolean criterion "depthMap" for catalog:findPhotos() doesn't work. It always returns an empty array, for both "isTrue" and "isFalse".





Accepted Solution

Champion

 • 

6K Messages

 • 

103.7K Points

7 m ago

Not a bug after all. There's a missing operand "value = true" -- it should be:

catalog:findPhotos {searchDesc = {
    criteria = "depthMap", 
    operation = "isTrue", 
    value = true}}

It's not documented, but all criteria with the "isTrue" and "isFalse" operations require "value = true".

Adobe Administrator

 • 

563 Messages

 • 

10.2K Points

2 y ago

Thanks for letting us know, John.
We will look into this.

Thanks,
Sunil