Message 1 of 3
Append entity.

Not applicable
08-25-2005
08:07 AM
- Mark as New
- Bookmark
- Subscribe
- Mute
- Subscribe to RSS Feed
- Permalink
- Report
The following code will not compile due to errors:
Dim corner1 As New Point2d(0, 0)
Dim corner2 As New Point2d(10, 0)
Dim ln As New Line2d(corner1, corner2)
btr.AppendEntity(ln) 'Add the reference to ModelSpace
trans.AddNewlyCreatedDBObject(ln, True) 'Let the transaction know about it
trans.Commit()
What is it that I am doing wrong?
Dim corner1 As New Point2d(0, 0)
Dim corner2 As New Point2d(10, 0)
Dim ln As New Line2d(corner1, corner2)
btr.AppendEntity(ln) 'Add the reference to ModelSpace
trans.AddNewlyCreatedDBObject(ln, True) 'Let the transaction know about it
trans.Commit()
What is it that I am doing wrong?