using python in Font Node

   4436   2   0
User Avatar
Member
74 posts
Joined:
Offline
Hi all,

I want to write a python expression in the text field of the font parameter.
When I try to use “chr()” to write an ascii sign it whon't work. Is there something special to do?

Thanks you for your anwser.

p.s.: I'm a houdini noob
User Avatar
Member
7715 posts
Joined: July 2005
Online
In the parameter pane of your Font SOP, first change the default expression language from Hscript to Python. Now right-click on the Text parameter and choose Channels and Keyframes > Set keyframe. Click on the Text label once to toggle it into expression mode. Now just replace the value with your chr() code.
User Avatar
Member
74 posts
Joined:
Offline
Thank you verry much edward.
It works great.

nico
  • Quick Links