Use functions such as "$F" in a SOP function

   2552   3   1
User Avatar
Member
26 posts
Joined: March 2008
Offline
I have add a SOP_Node::primGroupMenu to my SOP and its all working as it should. Then I tried to use some finished script calls (or what they might be called) such as ‘$F’ which should be the current frame in Houdini.

But when I use $F all I get is 1, no matter what I change the current frame to.

So I wonder, is this function automatic, meaning that the function will send in the Current Frame into my SOP, or will I have to manually calculate the current frame myself?

I have to work with group names manually, and if the user adds ex. 5-1 as input. But do I also have to do it manually if the input is a Houdini function?
You cant recycle wasted time
User Avatar
Member
696 posts
Joined: March 2006
Offline
it depends on what you're doing. You may need to place a backtick: ` (next to the one key) on either side of the $F to force it to evaluate.
Stephen Tucker
VFXTD
User Avatar
Member
26 posts
Joined: March 2008
Offline
Thanks for the tip. But when I tried writing:

`$F`

in the field, it still just says 1 when I am trying to change the currentFrame in Houdini.
You cant recycle wasted time
User Avatar
Member
696 posts
Joined: March 2006
Offline
It might help if you attach your file
Stephen Tucker
VFXTD
  • Quick Links