In the <attr:> token, could you teach a example that the index is used?
The <attr:bla index:faceset default:none> token is used when referencing a string array attribute, to query the index of a string array element.
It relies on a second user attribute of UINT type. I've attached an example ass file and textures to demonstrate it.
thank you, but, I'm maya user. I want to check your file. Could you send me a maya file format?
Currently, MtoA does not export User Data as UINT from custom attributes so you need to use the "User Options" attribute on the shape. Here's a Maya 2018 scene demonstrating it.
Also note there is currently a bug so you need to make sure a default: value is set.