谢谢!我也试成了一种办法,程序如下:
' 设置当前的坐标系为世界坐标系 ThisDrawing.SendCommand "_ucs " Utilobj.CreateTypedArray direction, vbDouble, -1, -1, 1 ThisDrawing.ActiveViewport.direction = direction ThisDrawing.ActiveViewport = ThisDrawing.ActiveViewport ThisDrawing.SendCommand "ucs" & vbCr & "w " ThisDrawing.SendCommand "ucs" & vbCr & "v "
ZoomAll
|