That's what I'm getting on a new drawing with one block. The code I'm using to add item to the treeview is this:
Private Sub callback_objectAppended(ByVal sender As Object, ByVal e As ObjectEventArgs)
Dim newnode As System.Windows.Forms.TreeNode = myControl.TreeView1.Nodes.Add(e.DBObject.GetType().ToString)
Dim objName As String = e.DBObject.GetType().Name
Select Case objName
Case Is = "Line"
MsgBox(e.DBObject.GetType().ToString)
Case Is = "AcDbLine"
Case Is = "BlockTableRecord"
MsgBox(e.DBObject.GetType().ToString)
End Select
End Sub
The idea is that I would get the needed data based off of what type of object it is.
Now that I think more about this, should I be getting the objectID of the object and then getting the data from the db once the object is in? Instead of trying to intercept everything?