Accessing the essentialProperty() function for a Comp
I'm having fun with the Essential Graphics panel, and the ability to create reusable components. Coupled with power in expressions, this stuff is amazing.
I've run into an issue, though. With the Essential Graphics panel you create "Essential Properties" for a comp. You can reference these with the powerful .essentialProperty() function. Great!
The problem becomes that you can only use .essentialProperty() on a layer, not on a comp. But the Essential Properties are a feature of a comp, not a layer. So now I have to somehow reference the parent where the comp is used, then the layer that is the comp I'm in, then the properties. So you end up with:
comp("parentComp").layer(thisComp.name).essentialProperty("whatever");
But... there is no parentComp() function. So at run time who knows what the containing Comp is called? And any attempt to reference the .essentialProperty() function on a Comp fails, such as thisComp.essentialProperty() or comp("whatever").essentialProperty(). It has to be a layer, for some reason. Even though essential properties are an element of the comp.
Does anyone know a workaround for this? This seems like a huge oversight in the creation of Essential Properties.
