Skip to main content
dublove
Legend
June 3, 2026
Question

pathItems seems to contain path shapes. What is the code name for guides?

  • June 3, 2026
  • 0 replies
  • 9 views

I moved all the guides to a new layer.
But I noticed that the path shapes were moved along with them.
I saw that someone used pathItems.guides, but it seems that's no longer supported?

var d=app.activeDocument;
var pl = d.pathItems.length;

for (i = 0; i < pl; i++) {
//d.pathItems[i].locked = false;
d.pathItems[i].moveToEnd(mylayer);
}