DraftSight API help

Hello,

I’m having trouble with my DraftSight API.

What is the Visual Basic code for declaring a line and its coordinates so that it can be deleted using “dsLine.Erased = True”?

 

- Thanks!