CompoundPathItem of grouped CompoundPathItems shows zero pathItems in script.
AI version: 27.1.1
OS: MacOS 13.1
Steps to reproduce:
1. New Document.
2. Make some compoundPathItems (eg. create outlines of text).
3. Group the compoundPathItems.
4. Select that group
5. Choose menu: Object > Compound Path > Make
6. Run this script:
alert('pathItems.length = ' + app.activeDocument.selection[0].pathItems.length);
Result: alert says pathItems.length = 0
Expected result: should say the actual number of pathItems
3
votes
