VOP convert string to integer

   184   2   1
User Avatar
Member
2 posts
Joined: Sept. 2024
Offline
Hi! I can't figure out how to convert a string to an integer in VOP. I know that in VEX this is done with the atoi function, but is there an equivalent in VOP?
User Avatar
Member
5099 posts
Joined: Feb. 2012
Offline
Hi,

Some VEX functions do not have VOP equivalent so you have to use the Snippet VOP to call the atoi function.
Senior FX TD @ Industrial Light & Magic
Get to the NEXT level in Houdini & VEX with Pragmatic VEX! [www.pragmatic-vfx.com] https://lnk.bio/animatrix [lnk.bio]
User Avatar
Member
2 posts
Joined: Sept. 2024
Offline
animatrix_
Hi,

Some VEX functions do not have VOP equivalent so you have to use the Snippet VOP to call the atoi function.
Thanks a lot!
  • Quick Links