Hello,
If I've wblocked to a file, how can I obtain an entity in C# that represents the block?
Say I wanted to add it to a drawing, I would do this:
BlockTableRecord newBtr = new BlockTableRecord();
newBtr.Name = "MyBlock";
newBtrId = bt.Add(newBtr);
trans.AddNewlyCreatedDBObject(newBtr, true);
newBtr.AppendEntity(***theEntity***);
trans.AddNewlyCreatedDBObject(***theEntity***, true);
What can I fill in the blank with?
Thanks very much for your help. I'm really lost with this stuff.
-Carlos