Skip to main content
KeenTools
Participant
June 16, 2022
Answered

Link to invisible parameter

  • June 16, 2022
  • 4 replies
  • 422 views

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 has been closed for replies.
Correct answer shachar carmi

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
June 17, 2022

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.

shachar carmiCommunity ExpertCorrect answer
Community Expert
June 17, 2022

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?

James Whiffin
Legend
June 17, 2022

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?

Dan Ebberts
Community Expert
Community Expert
June 16, 2022

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.