sel function

selector sel(selString)

selString string

Returns the selector corresponding to the value of selString.

This conversion function allows to cast the selString to a selector.

Examples

colchannel(index) = "material.color."+index

A -->
    set(sel(colchannel("r")),0.5)