CompBldrCurSpace() { m_db = Utils.Db.GetCurDwg(); using (CompBldrCurSpace compBldr = new CompBldrCurSpace(m_db)) { compBldr.Start(); double tmpRadius = 1.0; Circle tmpCirc = null; for (int i = 0; i < 10; i++) { tmpCirc = new Circle(); tmpCirc.Radius = tmpRadius; tmpCirc.ColorIndex = i; Utils.Db.TransformToWcs(tmpCirc, m_db); compBldr.AddToDb(tmpCirc); tmpRadius += 1.0; } Matrix3d mat = Matrix3d.Displacement(new Vector3d(10.0, 10.0, 0.0)); compBldr.PushXform(mat); tmpCirc = new Circle(); tmpCirc.Radius = 2.0; Utils.Db.TransformToWcs(tmpCirc, m_db); compBldr.AddToDb(tmpCirc); compBldr.PopXform(); compBldr.Commit(); } }