strcmp expression help

   1546   2   0
User Avatar
Member
246 posts
Joined: July 2005
Offline
Again, apologies for the simple question - still out of practice.

I'd like to control a switch VOP based on whether or not a top level HDA parameter has an filename entry (string) or not - what am I doing wrong?

In the “index” parameter field in the switch VOP:

strcmp(`chs(“../../../parameter_entry”)`,“”)

It evaluates properly in the texport when I cd to the op and change the entry from something to nothing in the top level interface, just not in the switchVOP itself. What am I missing?

t
User Avatar
Member
8538 posts
Joined: July 2007
Offline
remove ticks:
strcmp(chs("../../../parameter_entry"),"")


also kwwp in mind that if you are putting this directly in the switcher parameter of the Switch VOP it will not be animatable, if you need that functionality, promote the switcher parm
Tomas Slancik
FX Supervisor
Method Studios, NY
User Avatar
Member
246 posts
Joined: July 2005
Offline
That was it - great, thank you!
  • Quick Links