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.
How to get the "expression" name of a property
Moderator: 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:
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")