Quickly turn parameters into a dictionary and attributes using the attribute from parameters and attribute adjust dictionary node. The example file also demonstrates how to read the resulting detail attributes from a spare input and how to copy them into the geometry stream.
This VEX code reads and limits the variable resolution
from a dictionary called parms
.
float res = d@parms['resolution'];
d@parms['resolution'] = max(0.01, res);