程序如下: Public Sub Test() Dim returnPnt As Variant Dim corner1(0 To 2) As Double Dim corner2(0 To 2) As Double ThisDrawing.SetVariable "CMDECHO", 0 returnPnt = ThisDrawing.Utility.GetPoint(, vbCrLf & "Enter Start point:") corner1(0) = returnPnt(0) corner1(1) = returnPnt(1) corner1(2) = returnPnt(2) returnPnt = ThisDrawing.Utility.GetCorner(corner1, "Enter Other corner: ") corner2(0) = returnPnt(0) corner2(1) = returnPnt(1) corner2(2) = returnPnt(2) End Sub '''''''''''''''''''' '''''''''''''''''''' '运行时出现以下提示 '命令: 'Enter Start point: '命令: Enter Other corner: '---------------------------------- '我的问题是: '如何使GetCorner()的提示出现时,在AutoCAD的命令行也不出现"命令:", '就象一般的AutoCAD命令一样,使运行时出现以下提示 '命令: 'Enter Start point: 'Enter Other corner: |