Skip to main content
KeenTools
Participant
Jun 16, 2022 8:39 PM UTC
Answered

Link to invisible parameter

Hello, is it possible somehow to use in expressions an invisible parameter of an effect? I have in my effect a parameter which is marked with PF_PUI_INVISIBLE and I want to use it in an expression.

This topic is closed to new replies. Start a new post to keep the conversation going.
shachar carmiCorrect answer
Community Expert
Jun 17, 2022 5:11 AM UTC

i don't see why not. you can refer to in the expression by it's name or index even though it's invisible. is that not the case?

4 replies

KeenTools
KeenToolsAuthor
Participant
Jun 17, 2022 7:48 AM UTC

Thank you, everyone for replies. I've made some experiments: I can't use an invisible effect parameter by name or by match name (I've got an error that property is missing or doesn't exists), but I forgot to check access by index and it worked. An invisible parameter can be accessed by its index.

Translate
shachar carmiCommunity ExpertCorrect answer
Community Expert
Jun 17, 2022 5:11 AM UTC

i don't see why not. you can refer to in the expression by it's name or index even though it's invisible. is that not the case?

Translate
James Whiffin
Legend
Jun 17, 2022 1:48 AM UTC

It's possible to have expressions on invisible params but I'm unsure if other expressions can then link to that hidden param.

 

Perhaps it's possible if you unhide the param, setup the expression, and then hide it again? Or will that give you an expression error?

Translate
Dan Ebberts
Community Expert
Community Expert
Jun 16, 2022 9:28 PM UTC

My guess is no, just based on experiments with "INVISIBLE"=true parameters in pseudo effects. Those you apparantly can't access by name, match name, or index.

Translate