you can't use ticks to evaluate Python expression inside a string you have to make sure to purely insert an expression that generates your full string
- so make sure your parameter is toggled to expression (LMB click on label until its highlighted) and then - either Alt+LMB to insert a keyframe and type in your expression or - Alt+E to open floating Editor (should be in Edit Expression mode instead of Edit String) type in your expression and apply and that will create the keyframe also
tamte you can't use ticks to evaluate Python expression inside a string you have to make sure to purely insert an expression that generates your full string
- so make sure your parameter is toggled to expression (LMB click on label until its highlighted) and then - either Alt+LMB to insert a keyframe and type in your expression or - Alt+E to open floating Editor (should be in Edit Expression mode instead of Edit String) type in your expression and apply and that will create the keyframe also
raincole Many thanks! So backticks are only for HScript?
yes, since string parameters dont have any scripting language associated to them until you set a keyframe, so houdini wouldn't be able to know which language you are using and the node default language is just default
if you really want to insert python generated string into string parameter using ticks to avoid generating the whole string in Python you can use pythonexprs() Hscript function
`pythonexprs("hou.pwd().path()")`
which of course is unnecessary for your case but may be handy in some cases