move tag along object

On 19/12/2015 at 10:56, xxxxxxxx wrote:

Hi,

I'm trying to get information from existing tags on object. More precisely, i'm trying to sort or re-arrange tag on object. For example I've got a object with multiples textures tags, is it possible to make texture tag N°1 to be the number 2 ? Is is possible, without create and destroy tags to moves them on my objects (or multiples object) ?

It could be very convenient for a large amount of objects to move every texture tag, Xpresso tags or whatever tags from a position to a other.

Solution can be Python or C++

anyway many thanks for reading this.

On 19/12/2015 at 11:10, xxxxxxxx wrote:

You can call tag.Remove() and then insert the tag again using obj.InsertTag(tag, predecessor).
Replace . by -> for C++.

On 19/12/2015 at 11:22, xxxxxxxx wrote:

Thanks for your fast reply ! I'm trying right now !