How to get the "expression" name of a property

Find out why the . goes before the /

Moderator: Paul Tuersley

Post Reply
Redsandro
Posts: 108
Joined: June 25th, 2008, 4:55 pm

Probably simple, but I don't get it.
I want to clone certain layers via a script. But how do I get expression compatible names for linking the properties? Both property.name and property.name give names containing spaces, which are not good for the dot syntax used for referencing in expressions.
avi + m2t -> Vdub + DGIndex -> AE CS3 -> x264 -> Hell On Earth :mrgreen:
Paul Tuersley
Posts: 704
Joined: June 5th, 2004, 7:59 am
Location: London, UK

Did you get this figured out?

Jeff Almasol's Gimme Prop Paths script appears to do it by having a big look up table of compact property names linked to their match names, which suggests there isn't a built in method of finding them.

But you should be able to use the non compact names in your expressions using the format:

Code: Select all

thisLayer("Transform")("Anchor Point")
Post Reply