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.
import rhinoscriptsyntax as rs target = rs.GetObject("Select Curve") source_id = rs.GetObject("Select Surface") rs.MatchObjectAttributes(target, source_id)