Grasshopper.Rhinoceros.Model.Attributes to ObjectAttribute

Dose anyone know how to convert Grasshopper.Rhinoceros.Model.Attributes class to Rhino.DocObject.ObjectAttributes class?

Thank you so much.