Add a "by type" option to the Remove Named Attribute node
Sometimes, objects have multiple named attributes that have very different names, for example, common names for UVs include "map", "mapping", "channel" etc... Other types of named attributes, such as vertex colors and vertex groups, have way more name variety, variety that often, the Wildcard option can't handle.
For those situations, I propose the creation of the "by type" option in the Remove Named Attribute node; as the name implies, this option would remove named attributes by their type.
In the "by type" mode, the Remove Named Attribute would have the same parameters as the Store Named Attribute (data type and domain), plus the "All" option for both, choose "All" for both would remove all attributes, except the required, such as position.
The "by type" option would be useful not only in objects that have named attributes with big name variety, but specially useful when the node tree that has the Remove Named Attribute node is used in multiple objects.
Than You :).
1 Comment
yeah I agree, the wildcard is not sufficient to effeciently remove certain attribute types. Like all vertex groups etc. Also a selection option similar to the Store Named Attribute one should be available