I need a link or description of why I'm getting an error trying to erase some lines and circles I've inserted into my dwg.
I've created the line by 3d points and it is placed in the dwg.
Dim objline1 As Line = New Line(newpt103, newpt106)
mytrans.AddNewlyCreatedDBObject(objline1,true)
next I created a circle
Dim circleObj1 As Circle = New Circle()
circleObj1.SetDatabaseDefaults()
circleObj1.Center = newpt101
circleObj1.Radius = 5000
circleObj1.Normal = Vector3d.ZAxis
acBlkTblRec.AppendEntity(circleObj1)
mytrans.AddNewlyCreatedDBObject(circleObj1,true)
Both object are inserted into the drawing and I use them in an intersection query, so these appear to be valid
I think the objects are defined correctly and insert in the database, however when I try to erase these items I get an eNODatabase error.
I used:
objline1.Erase(True)
circleObj1.Erase(True)
Thanks
John