My goal is to make an asset dealing with external data. The interface allows to load the data file. Regarding the nature of the data, parameters of nodes inside the asset have to change.
I have a good prototype of the script but I don't know where to put it. I tried to write the script as an expression directly in the “changing parm” but Houdini blocked ( endless cook). I tried to create new parm with the script inside, on the interface level. Good success until I save the asset. The script is not saved and if I rewrite it, I have an error : editing of content not allowed !
I prepared a little hip for you to watch the structure and what I am talking about.
Regarding what you wrote. Why 2 arguments in the numRows function ?
My code read elevation data and add attribute to millions of points. I manage to reduce my grid rez to 2x2 when no file are loaded but it doesn't release memory. Once a file is loaded and attribute added .. it's just to late. Even if a delete the asset and use File ->New command the memory is still used. Any idea of what happens ?