Stream(ArrayList data, BlockTableRecord rec) { data.Add(new Snoop.Data.ClassSeparator(typeof(BlockTableRecord))); data.Add(new Snoop.Data.String("Path name", rec.PathName)); data.Add(new Snoop.Data.String("Comments", rec.Comments)); data.Add(new Snoop.Data.Point3d("Origin", rec.Origin)); data.Add(new Snoop.Data.ObjectId("Layout ID", rec.LayoutId)); data.Add(new Snoop.Data.Bool("Has attribute definitions", rec.HasAttributeDefinitions)); data.Add(new Snoop.Data.Bool("Has preview icon", rec.HasPreviewIcon)); //if (rec.HasPreviewIcon) // data.Add(new Snoop.Data.Bitmap("Preview icon", rec.PreviewIcon)); // TBD: throws exception, Not Implemented! data.Add(new Snoop.Data.String("Block scaling", rec.BlockScaling.ToString())); data.Add(new Snoop.Data.Bool("Explodable", rec.Explodable)); data.Add(new Snoop.Data.String("Units", rec.Units.ToString())); data.Add(new Snoop.Data.Bool("Is anonymous", rec.IsAnonymous)); data.Add(new Snoop.Data.Bool("Is dynamic block", rec.IsDynamicBlock)); data.Add(new Snoop.Data.Bool("Is from external reference", rec.IsFromExternalReference)); data.Add(new Snoop.Data.Bool("Is from overlay reference", rec.IsFromOverlayReference)); data.Add(new Snoop.Data.Bool("Is layout", rec.IsLayout)); data.Add(new Snoop.Data.Bool("Is unloaded", rec.IsUnloaded)); data.Add(new Snoop.Data.ObjectId("Draw order table ID", rec.DrawOrderTableId)); data.Add(new Snoop.Data.ObjectId("BlockBegin ID", rec.BlockBeginId)); data.Add(new Snoop.Data.ObjectId("BlockEnd ID", rec.BlockEndId)); data.Add(new Snoop.Data.ObjectIdCollection("Entities within block", MgdDbg.Utils.SymTbl.CollectBlockEnts(rec))); data.Add(new Snoop.Data.ObjectIdCollection("Block reference IDs (directOnly = true)", rec.GetBlockReferenceIds(true, false))); data.Add(new Snoop.Data.ObjectIdCollection("Block reference IDs (directOnly = false)", rec.GetBlockReferenceIds(false, false))); data.Add(new Snoop.Data.ObjectIdCollection("Block reference IDs (Erased)", rec.GetErasedBlockReferenceIds())); data.Add(new Snoop.Data.String("Xref status", rec.XrefStatus.ToString())); data.Add(new Snoop.Data.Database("Xref database", rec.GetXrefDatabase(true))); }