daniel78
10-03-2015, 08:33 AM
Just looking into Artrage scripting for the first time. So far things are going well!
Are there any specific script functions for dealing with layer groups? (as opposed to regular layers)
I'm iterating through layers (so i can batch export them, amongst other things) and there appears to be an empty layer for the start of each group, and a special terminating layer named "</Layer group>". Is there any way, from a script, to determine whether that empty "group start" layer represents a group? (and/or any other info i can get about layer groups) I don't see anything in the docs. I'd like to create separate logic for dealing with groups (eg. merge them before exporting)
EDIT: found it! I don't know how i missed "LayerType". Sorry!
Are there any specific script functions for dealing with layer groups? (as opposed to regular layers)
I'm iterating through layers (so i can batch export them, amongst other things) and there appears to be an empty layer for the start of each group, and a special terminating layer named "</Layer group>". Is there any way, from a script, to determine whether that empty "group start" layer represents a group? (and/or any other info i can get about layer groups) I don't see anything in the docs. I'd like to create separate logic for dealing with groups (eg. merge them before exporting)
EDIT: found it! I don't know how i missed "LayerType". Sorry!