rs.MatchObjectAttributes - Hard Crash

crashAttributes.3dm (552.3 KB)

I’ve come across some geometry in my model that causes a hard crash when rs.MatchObjectAttributes tries to copy its attributes to another object. The surface in the attached model should be the problem.

Matchproperties in Rhino works fine, just when using rhinoscriptsyntax does it crash.

rh6 sr11

import rhinoscriptsyntax as rs

target = rs.GetObject("Select Curve")
source_id = rs.GetObject("Select Surface")

rs.MatchObjectAttributes(target, source_id)

Hi Tim - I see that, thanks for the report.

https://mcneel.myjetbrains.com/youtrack/issue/RH-50362

-Pascal

1 Like