📅  最后修改于: 2022-03-11 14:45:32.625000             🧑  作者: Mango
import System
from System import *
input = IN[0]
app = System.Runtime.InteropServices.Marshal.GetActiveObject("Autocad.Application")
adoc = app.ActiveDocument
adoc.SendCommand(input)
OUT = str(input) + " sent to command line"