<RE class=Code>这个函数没有什么复杂的地方啊,而且除非没有对应的Method,尽量不要用。</PRE><RE class=Code>Sub Example_SendCommand()
' This example sends a command to the AutoCAD commandline
' of a particular drawing for evaluation
' We will create a Circle in the active drawing and will
' zoom to display the entire circle
ThisDrawing.SendCommand "_Circle" & vbCr & "2,2,0" & vbCr & "4" & vbCr
ThisDrawing.SendCommand "_zoom" & vbCr & "a" & vbCr
' Refresh view
ThisDrawing.Regen acAllViewports
MsgBox "A circle command has been sent to the command line of the current drawing."
End Sub</PRE>