V5 beta Jul-30-2024 available now

 From:  Frenchy Pilou (PILOU)
11493.35 In reply to 11493.34 
maybe you can use this for rename all objects of a selection so no double name! :)

> Is there any possibility to create a script that will number objects depending on the sequence of clicking on them?

Try this:

script: /* Set name by selection order */ var objs = moi.geometryDatabase.getSelectedObjects(); objs.sortBySelectionOrder(); for ( var i = 0; i < objs.length; ++i ) { var obj = objs.item(i); obj.name = i+1; }

Pilou
Is beautiful that please without concept!
http://moiscript.weebly.com
My Moi French Site
https://schmoll8.wixsite.com/magicavox
My MagicaVoxel Gallery