Gerardo Castellanos
I mean, I want to access to the values of that parameters,
As alex and I have already shown you can access the value of the parameter with:
What is entered into that paramater and how you decided to treat it is another matter.
In all cases a string paramter that you are accessing is just that - only a string.
mask_noiser
or it could be:
@mask_noiser
In either case, it's still only a string and you will have to decide how to deal what is entered or not. How it is entered, or not, etc.
Since it's a string and if a 'proper' name is entered, it can be used to pass into a function argument.
If you want to get a point value for example of an attribute specified by your parameter name entered:
int Result = pointattrib(0,chs("../attrMask"),5);// if attribute specified refers to an integer
float Result = pointattrib(0,chs("../attrMask"),5);// if attribute specified refers to an float
// etc. etc.
If you are wanting to do some general reading of all types of attributes, you are going to have to determine 'class/types' as part of the process.
https://www.sidefx.com/docs/houdini/vex/functions/attribtype.html [
www.sidefx.com]
https://www.sidefx.com/docs/houdini/vex/attribtypeinfo_suite.html [
www.sidefx.com]
Also, if you or the user entered '@' as part of the parameter text entered, you will have to parse out that symbol character from the string parameter before passing it as a string argument to one of those functions.