public void Scale() { Database db = HostApplicationServices.WorkingDatabase; DBText txt = DBText(Point3d.Origin, "深居浅出", 100); txt.Annotative = AnnotativeStates.True; ObjectContextManager cm = db.ObjectContextManager; ObjectContextCollection occ = cm.GetContextCollection("ACDB_ANNOTATIONSCALES"); foreach (ObjectContext oc in occ) { txt.AddContext(oc); } Circle cir = new Circle(new Point3d(265, 50, 0), Vector3d.ZAxis, 300); ToModelSpace(txt); ToModelSpace(cir); }