Hello, I’m trying to log a path I made. Initially those were 2 subpaths with 4 points each, I deleted 1 point in the lower subpath:
I would expect those to become 3 subpaths. However if I log it via DOM here’s what I’m getting:
app.activeDocument.pathItems[0].subPathItems.forEach(el => {
console.log(Array.from(el.pathPoints));
})
(4) [PathPoint, PathPoint, PathPoint, PathPoint]
(2) [PathPoint, PathPoint] // the third point is missing completely?
If I try to get the path via BatchPlay, the object contains two pathComponent
-s, and the second path component has two subpathListKey
-s, one subpathsList
object with 2 points and one with one point.
is this a DOM bug? and why there’s another level of nesting in BP?