VOP convert string to integer

   284   2   1
User Avatar
Member
2 posts
Joined: 9月 2024
オフライン
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
5107 posts
Joined: 2月 2012
オフライン
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: 9月 2024
オフライン
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