I have attached some UserData to a brep. There also a custom ReplayHistory added to it.
If the History get updated the UserData get deleted.
I have try to get access to the old UserData in my ReplayHistory function:
var attributes = replay.Results.ExistingObject.Attributes; var userdatalist = attributes.UserData; replay.Results.UpdateToBrep(brep, attributes);
but the userdatalist has a size from 0.
How could i copy userdata on updateing a object