(sorry for my bad english)
I have a problem. in the script loop through all objects in the document, was producing some manipulation. so, please tell me how to count the number of nodes (or stops) in the gradient and mesh fills?
I try to use (docRef.pageItems[i].fillColor.gradientStops.length) and the like, but AI write me - (error) undefine.