Using RhinoCommon via the new R8 script editor. Calling doc.Layers.Duplicate always returns an empty int, even when it is clearly successful.
@Christian_Brahe I see that too. I made a bugtrack item so we can fix that: https://mcneel.myjetbrains.com/youtrack/issue/RH-80624/RhinoCommon-SDK-LayerTable.Duplicate-method-returns-empty-int-even-when-successful
Thanks Pierre.
Any estimate on a timeline for a fix? I am wondering if I should hack my own solution for finding the newly added layers by checking names or indices, or if I can just wait for the above to be fixed.
Hi @Christian_Brahe,
I’ve pushed a fix - should appear in the next Rhino 8 SR5 release candidate.
– Dale
2 Likes
RH-80624 is fixed in Rhino 8 Service Release 5
1 Like
Hi @brian in RH7 SR37 this bug is still present, is there a patch available?
Thanks in advance!
Ivan
Ok thanks!
