总结
https://www.sidefx.com/docs/houdini/expressions
https://www.sidefx.com/docs/houdini/commands
https://www.sidefx.com/docs/houdini/ref/windows/textport
非常古老的教程,但是总结了很多 HScript 的用法,现在也适用。
教程是速看的,所以没有深入实现其中的案例。
根据目前的官方文档的说法,以前还没有接入 Python 的时候使用 HScript 来做一些自动化脚本。
现在推荐用 Python 来完成这些工作,通道上也支持 Python 脚本作为代码逻辑。
观看笔记
bezier()
关键帧也是用 HScript 连接的

HScript 里面可以使用科学计数法。

$F
获取当前整数帧数
$F30
可以自动补齐 30 个零位在前面

$FF
获取当前浮点数帧数


opinputpath
可以获取当前节点接入端的节点

Textport 可以查看函数帮助

Textport 也可以像操作系统一样执行 echo 命令。