Good day.
I am trying to get the value of the number of layers in the PSD file.
The file is attached.
If you look at this file in Photoshop, the number of layers is 4.
But the script
testmap = "D:\\FPSD.psd"
BitmapLayerManager.getLayerCount testmap
returns 0.
Am I doing something wrong?
In work I use 3ds Max 2015 and Photoshop CC 19.1.5