Hello!
It is possible to generate layer name with random letters and numbers like “A7gs9G5E”?
Example:
Rename Layer 01 to “A7gs9G5E” (or other abstract letters and numbers)?
Hello!
It is possible to generate layer name with random letters and numbers like “A7gs9G5E”?
Example:
Rename Layer 01 to “A7gs9G5E” (or other abstract letters and numbers)?
Not without scripting. If you’re willing to script in e.g. Python, there are numerous examples out there how to create a random string.
Here are a couple of scripts:
1- Rename selected layers with the layer GUID as the layer name.
RenameLayersID.py (351 Bytes)
2- Generate N new layers with the layer GUID as the layer name. Also creates a random color for each new layer.
AddRandomLayersID.py (554 Bytes)
Layer GUIDs are like all other GUIDs in Rhino, they should be theoretically “unique”… They are pretty long strings however.
–Mitch
Big Thanks, Mitch. Both scripts works fine!