UnrollSrf - Name


I’m unrolling some named parts and the resultant unrolled surface is being named “xxx_unrolled”

Is there a way to change this Unrolled name?

Thanks, Andrew

Script it.

Hi, thanks.

Ok, but no native option?

Hi Andrew,

Indeed no native option.
Are you capable of scripting it yourself?


Hi Willem,

Thanks - no, cannot script myself, but its not a biggie, so don’t worry!!

Thanks all

1 Like

I think I found this script somewhere on the rhino site a long time ago:

ReplaceText.rvb (1.6 KB)

Just put “_Unrolled” in the first field and a space in the second.

Hi Thomas,

Unfortunately this script only handles the text in text objects; not object names.

@solosails in python to remove for all objects '_Unrolled" in the object name use this python script:

import rhinoscriptsyntax as rs

def Main():
    remove = '_Unrolled'
    all = rs.AllObjects()
    for obj in all:
        name = rs.ObjectName(obj)
        if name:
            new_name = name.replace(remove,'')


remove_unrolled.py (277 Bytes)

True :slightly_smiling:

Unroll & Label.rvb (2.8 KB)

This might do what you’re after.

Awesome! Thanks for the help people!