Levels can't reference dynamic properties

Don’t know if this is a bug or just me trying to use the tool to do something it wasn’t designed to, but:

If I use an expression to reference a dynamic property of a piece, it throws an error even if the expression builder gives me the green check mark.

IN my particular case, I am trying to use an if statement to set a level number based on the value of a dynamic property. The expression builder generates this syntax:


It throws an error: “Expression evaluation error”

The manual seems to imply that a layer should be able to reference a dynamic property to set a specific level value, but it’s not working.

WORKAROUND: Using a calculated property to set a value using a conditional statement referencing the dynamic property and then referencing the calculated property with the layer expression seems to work, but that’s a kind of a long way to get there. :slight_smile: