On 12/02/2018 at 12:22, xxxxxxxx wrote:
Hi,
I created a python script that allows to assign several materials to a mesh object
The following three lines of code allow this operation:
textag = c4d.TextureTag()
textag.SetMaterial(id_material)
id_objet.InsertTag(textag)
But in addition, I want to limit each material to a selection tag
For the mesh, I already know the list of the names of this selections.
At first, I guess I have to extract, for the meh, the list of all selections tag to get their ID
Then I would have to limit each material to the selection tag
How to proceed ?