VEX Dictionary / nametoprim
nametoprim
Finds a primitive number by matching the geometry's name attribute, or -1 if none matches.
group: attribsearchprim
Available in every context
Usage
int nametoprim(<geometry>, string name)
Examples
No worked examples yet.
Signatures (from vcc -X)
int nametoprim(int, string)all contextsint nametoprim(string, string)all contexts