Anyone know of a way to call sublayers by name in JS?
Trying to get a script to work on a AI file that has been exported out of arcMap, in which almost all the layers are actually sublayers of a few top level layers.
For instance, the line
var targetLayer = myDoc.layers.getByName ("Road - Dirt (base)")
does not find the layer "Road - Dirt (base)" unless it is a top-level layer. I can't find any reference to sublayers in any of the Adobe documentation.
2 replies to this topic
0 user(s) are reading this topic
0 members, 0 guests, 0 anonymous users