ADOBE AFTER EFFECTS: Forum Expressions Tutorials Creative Cloud

Find type of named group

COW Forums : Adobe After Effects Expressions

<< PREVIOUS   •   FAQ   •   VIEW ALL   •   PRINT   •   NEXT >>
Jakob Wagner
Find type of named group
on Oct 8, 2018 at 3:04:03 pm

Hi

I'm making a script which can loop through the vector group of a shape layer, to find out what is inside it.

I can find out if a property is a named group with this if statement:

if (group.propertyType==PropertyType.NAMED_GROUP)

But I would like to know if it is a rectangle or ellipse or something else. Basically I want to check the type to its match name. Those on this list:

http://docs.aenhancers.com/matchnames/layer/shapelayer/

Any way to do that?

- Jakob


Return to posts index

Jakob Wagner
Re: Find type of named group
on Oct 8, 2018 at 3:12:24 pm

Oh wait. There is actually a property called matchName. 😂

group.matchName;


Return to posts index

<< PREVIOUS   •   VIEW ALL   •   PRINT   •   NEXT >>
© 2018 CreativeCOW.net All Rights Reserved
[TOP]