public void сreate(LandParcel polygon, double scale) { string titleTable = ServiceTable.ReplaceValueCodeInTitle(polygon, this.Setting); foreach (AcDb.DBObject obj in ServiceTable.GetCapTables(titleTable, this.Setting)) { objects.Add(obj); } foreach (AcDb.DBObject obj in ServiceTable.GetBoundTable(polygon.Points.Count + 1, this.Setting.TextHeight * 2, this.Setting)) { objects.Add(obj); } foreach (AcDb.DBObject obj in ServiceTable.GetDataTableBorderPolygon(polygon, this.Setting)) { objects.Add(obj); } string nameBlockTable = ServiceBlockElements.CreateBlock(this.objects, this.Setting.KeyTable); ServiceBlockElements.ManualInsertBlock(nameBlockTable, scale); objects = new AcDb.DBObjectCollection(); }