Since you're creating the attribute in VEX you need to manually create a mapping between the parameter and a variable:
addvariablename(0, "h", "MYVAR");
That being said, PolyExtrude won't accept a local variable in that parameter so even if your variable was correctly set up it would throw a warning. In your case you could do something like set the Distance to 1 and use your attribute as the Distance Scale in the Local Attributes tab.
Graham Thompson, Technical Artist @ Rockstar Games
graham Since you're creating the attribute in VEX you need to manually create a mapping between the parameter and a variable:
addvariablename(0, "h", "MYVAR");
That being said, PolyExtrude won't accept a local variable in that parameter so even if your variable was correctly set up it would throw a warning. In your case you could do something like set the Distance to 1 and use your attribute as the Distance Scale in the Local Attributes tab.
Thank you for your help, but I don't understand the specific method, can you be more specific?
You can also use the point function and specify the point number to use or promote the desired point numbers attribute to detail and use the detail function.
BabaJ You can also use the point function and specify the point number to use or promote the desired point numbers attribute to detail and use the detail function.
Great! This completely solved my problem and has a very clear idea. Thanks for your help