2 Comments

  1. Hi Moritz

    Thank you for these tutorials, am having trouble understanding
    f@pscale = pscale;

    What is the f for, If I type @pscale = pscale; , I get the same results in my Geo spreadsheet with no errors, is this correct?. I understand its setting the pscale in the geo att. Thanks you Ben

    • Hi Ben,

      letters in front of the @ explicitly specify the attribute’s data type. In our case the “f” denotes a float. Most of the time Houdini automatically selects the correct data type for the attribute, especially if we’re working on built-in attributes such as pscale. However to be sure and have control over what’s happening, I prefer explicitly typing my attributes using the data type before the @. For a list of attribute data types see: https://www.sidefx.com/docs/houdini/vex/snippets.html#attributes

      Cheers, Mo

Leave a Reply