Sunday, January 16, 2011

Update Baked Objs by C#


Link: update-bake


1.
Guid uuid = Guid.Empty;
uuid = doc.Objects.AddSurface(obj as Surface, att);

2.
Rhino.DocObjects.ObjRef RefObj = new Rhino.DocObjects.ObjRef(uuid);
doc.Objects.Replace(RefObj, srf);

No comments:

Post a Comment