public void TestUngroup() { ObjectId[] ids = Interaction.GetSelection("\nSelect entities"); Modify.Ungroup(ids); DBDictionary groupDict = HostApplicationServices.WorkingDatabase.GroupDictionaryId.QOpenForRead <DBDictionary>(); Interaction.WriteLine("{0} groups.", groupDict.Count); }