Python Update on Frame Issue

   1502   1   0
User Avatar
Member
1 posts
Joined: June 2017
Offline
Hi!

I'm having a really basic problem and since I'm an absolute noob I also don't know how to tackle this.

I want to input a text as a string, convert the words into an array and return it word per word. The time dependent node should then update my hou.intFrame variable as I'm scrubbling. The thing is, this is happening only once per frame (cant visit a frame twice and get the same value twice in print) unless I update the whole module (I think). And of course, rendering isnt possible since it only renders the first frame output.

I researched the forums already and tried some pre and post-frame scripts, without success

I attached the .hip, help would be super appreciated!

Thanks!!

Attachments:
textRun.hip (284.2 KB)

User Avatar
Member
2531 posts
Joined: June 2008
Offline
Try placing the python node right after the Font node. not at the global /obj level.

Attachments:
ap_textRun.hiplc (258.3 KB)

Using Houdini Indie 20.0
Windows 11 64GB Ryzen 16 core.
nVidia 3050RTX 8BG RAM.
  • Quick Links