ThisDrawing需要定义
代码如下:
Private Sub Command1_Click()
dim AcadApp as acadapplication
set acadapp=getobject("autocad.application")
dim Thisdrawing as acaddocument
set thisdrawing=acadapp.activedocument
ThisDrawing.SendCommand "_Circle 150,100,0 50 "
End Sub