According to the docs, RenameLayer returns the name of the new layer if successful. However, the method only returns True or False. I just thought I’d report that here.
I don’t see that happening. Can you elaborate?
@Alain, it seems to work in rs Python but using RhinoScript (vb) i can repeat it.
Yes, this is what I got on RhinoScript.
Got it. This will be fixed in the next WIP release. That is, RhinoScript’s RenameLayer method will return a string and not a Boolean…