Script - Naming? - Help?

Hi All,

Wondering if there is a way to take each one of these surfaces that make up this object - and give them a name automatically without having to name them myself ? @pascal any help greatly appreciated. Thanks!

Hello- Are the surfaces separate objects in Rhino? Why do they need names, what is the eventual goal of naming?


i want to be able to use it (possibly) with this tool :
Draw User Texts – TomKod

or figure out how to make this tool myself so I can populate this same thing for when I break these parts up and lay them out for cutting… I just want a quick naming tool and then something I can then diagram for a sheet for guys to assemble and know what part is what…

yes I can just explode and all separate parts

Hello- if I understand, you need names on the objects and, eventually, labels showing the names, correct? If the names are automatically assigned, how are they going to be made useful for your purposes - would you enter a prefix and the namer thing would add incremental numbers?


Yes I’d like to assign a prefix . You’ve shown me a script in the past that will populate text dots with a numberer - but I am looking to actually assign a name to the object automatically ? Then I can move all the parts around and not have to worry about carrying the dot with me and it will always be named correctly… but if this is not possible it’s fine and I’ll just use the numberer script youve provided in the past

OK, I may have you covered - see if this thing does any good. (12.8 KB)

To use the Python script use RunPythonScript, or a macro:

_-RunPythonScript "Full path to py file inside double-quotes"

1 Like

You’re the best @pascal THANK YOU

@pascal this sir is very very useful, thank you :beers:

@pascal Is there anyway to take this a step further. and after naming the parts, go and generate visual numberer (but not as dots) as text objects? I’m pretty sure you helped me do this with blocks in the past…


sorry actually having the script you made is great but it would be great to generate the labels as text objects instead of dots…? Thanks!

Isn’t there a command line option? I’ll check…


Hi Pascal, I get an error when selecting the command line option for text :man_shrugging:t3: