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?

-Pascal

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?

-Pascal

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.

NumbererPlusNamer.py (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: